Version initiale
This commit is contained in:
13
sharedButtons/sharedButtons.ino
Normal file
13
sharedButtons/sharedButtons.ino
Normal file
@@ -0,0 +1,13 @@
|
||||
const int SHARED_BUTTONS = A1;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
pinMode(SHARED_BUTTONS, INPUT_PULLUP);
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
Serial.println(analogRead(SHARED_BUTTONS));
|
||||
delay(50);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user