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 9db4440 commit 6bddbbeCopy full SHA for 6bddbbe
examples/arduino-blink/platformio.ini
@@ -40,6 +40,3 @@ platform = espressif32
40
framework = arduino
41
board = esp32-s3-devkitc-1
42
monitor_speed = 115200
43
-build_flags =
44
- -D LED_BUILTIN=2
45
-
examples/arduino-blink/src/Blink.cpp
@@ -7,7 +7,9 @@
7
#include <Arduino.h>
8
9
// Set LED_BUILTIN if it is not defined by Arduino framework
10
-// #define LED_BUILTIN 2
+#ifndef LED_BUILTIN
11
+ #define LED_BUILTIN 2
12
+#endif
13
14
void setup()
15
{
0 commit comments