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 215631b commit 32025fbCopy full SHA for 32025fb
examples/Example2_PeriodicCommunications/Example2_PeriodicCommunications.ino
@@ -21,6 +21,10 @@
21
#define buttonPin 6
22
#define buttonPressedState LOW
23
#define ledPin 4
24
+#elif defined(ARDUINO_ARCH_STM32)
25
+#define buttonPin USER_BTN
26
+#define buttonPressedState LOW
27
+#define ledPin LED_BUILTIN
28
#else
29
#error "please add a board definition for button and led"
30
#define buttonPin ? // Change to any GPIO pin where there is an active-high button
0 commit comments