IOT102_-_FA_2024_-_FE_3029.webp
quangminh20031

IOT102_-_FA_2024_-_FE_3029.webp

Kizspy | Question: 21 (Choose 1 answer)
What is the output of the program given below if a voltage of 5V is supplied to the pin corresponding to the A0 pin on an Arduino UNO?
void setup() { Serial.begin(9600);
pinMode(A0, INPUT);
} void loop() {
int s = analogRead(A0);
Serial.println(s);
}
A. 0
Β. 1023
C. Null
D. Error
FUOVER

Thông tin

Category
IOT102
Thêm bởi
quangminh20031
Ngày thêm
Lượt xem
8,346
Lượt bình luận
40
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom