Files
Zendrive-simulator/sharedButtons/sharedButtons.ino

14 lines
186 B
Arduino
Raw Normal View History

2021-01-25 15:48:10 +01:00
const int SHARED_BUTTONS = A1;
void setup() {
Serial.begin(9600);
2021-01-27 14:19:36 +01:00
pinMode(SHARED_BUTTONS, INPUT);
2021-01-25 15:48:10 +01:00
}
void loop() {
Serial.println(analogRead(SHARED_BUTTONS));
2021-01-27 14:19:36 +01:00
delay(250);
2021-01-25 15:48:10 +01:00
}