Hương Trang
New member
What is the output of the code given below if there is a constant 5V supply to pin 10?
A. 1023
B. 1024
C. null
D. 1029
Code:
void setup() {
Serial.begin(9600);
}
void loop() {
int x=0;
do {
x=analogRead(10);
Serial.println(x);
}while(x!=1023);
}
B. 1024
C. null
D. 1029