intsensorPin=A0;// select the input pin for the potentiometerintsensorValue=0;// variable to store the value coming from the sensorvoidsetup(){// declare the ledPin as an OUTPUT: Serial.begin(9600);}voidloop(){// read the value from the sensor: sensorValue=analogRead(sensorPin);delay(1000);SerialUSB.print("sensor = ");SerialUSB.println(sensorValue);}