We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bddf766 commit 3762aaeCopy full SHA for 3762aae
examples/NonReg/Basics/STLTest/STLTest.ino
@@ -13,6 +13,12 @@
13
static uint32_t count_pressed = 0;
14
static uint32_t random_val = 0;
15
16
+// Check if a default user button is defined
17
+// If not then define it to pin 2, user can set an other pin.
18
+// Button have to be wired on this pin
19
+#ifndef USER_BTN
20
+#define USER_BTN 2
21
+#endif
22
int pushButton = USER_BTN;
23
24
// the setup routine runs once when you press reset:
0 commit comments