2 AD conversion a write program that wil read and dispiay th
     2 AD conversion a) write program that wil read and dispiay the analog voltage in pin PE5 approximately once every second b) White program that will read and display in dedvecits the analog valtage pin PE5 appraomately once every second c) White C) Vitte program that wil read and displsy in deaots using decimsl representation the analog voltsge in pin FE5 approomately orce every second  
  
  Solution
a.
int sensorPin = 5 //select the input pin for the potentiometer
int sensorValue = 0 //variable to store the value coming from the sensor
void setup () {
Serial.begin(9600); // initialize serial communication at 9600 bits per second:
}
void loop() {
//read the value from sensor and display it every second
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
delay(1000);
}
b.
int sensorPin = 5 //select the input pin for the potentiometer
int sensorValue = 0 //variable to store the value coming from the sensor
void setup () {
Serial.begin(9600);
}
void loop() {
//read the value from sensor and display it every second
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
delay(10000);
}

