#define LED_Yellow 13 // select the pin for the green LED#define SENSOR_1 1intpos=0;// variable to store the servo position longval=0;// variable to store the value coming from the sensorlongThreshold=0;// variable to store the value coming from the sensorbyteSensorState=B0000;voidsetup(){pinMode(LED_Yellow,OUTPUT);// declare this pin as an OUTPUTSerial.begin(9600);Serial.println("Test started \n");delay(1000);}voidloop(){val=analogRead(SENSOR_1);// read the value from the sensorSerial.print("Sensor = ");Serial.println(val,DEC);delay(200);}/* End of Loop */