mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
Changed analog references to use new A0 through A5 notation
This commit is contained in:
@ -10,6 +10,6 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
int sensorValue = analogRead(0);
|
||||
int sensorValue = analogRead(A0);
|
||||
Serial.println(sensorValue, DEC);
|
||||
}
|
||||
|
Reference in New Issue
Block a user