Skip to content

Commit d21067d

Browse files
committed
Default to LED_BUILTIN
1 parent b80ff1c commit d21067d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

examples/Wasm_Blink/Wasm_Blink.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
*/
1515

1616
// Redefine the default LED pin here, if needed
17-
#define LED_PIN 13
17+
#ifndef LED_PIN
18+
#define LED_PIN LED_BUILTIN
19+
#endif
1820

1921
#define WASM_STACK_SLOTS 1024
2022
#define NATIVE_STACK_SIZE (32*1024)

examples_pio/Wasm_Advanced/wasm_vm/wasm_vm.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
*/
1515

1616
// Redefine the default LED pin here, if needed
17-
//#define LED_PIN 13
17+
#ifndef LED_PIN
18+
#define LED_PIN LED_BUILTIN
19+
#endif
1820

1921
#define WASM_STACK_SLOTS 2048
2022
#define NATIVE_STACK_SIZE (32*1024)

0 commit comments

Comments
 (0)