snapshot
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
/// If button is pressed it is pulled low
|
||||
|
||||
const int BUTTON = 38;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
pinMode(BUTTON, INPUT);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
Serial.println(digitalRead(BUTTON));
|
||||
}
|
||||
Reference in New Issue
Block a user