8000 Scheduler: fix build for edge control board · arduino/ArduinoCore-mbed@99ec103 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99ec103

Browse files
committed
Scheduler: fix build for edge control board
* On edge control there are no leds but we can rely on GPIOs and Serial monitor
1 parent 4677d50 commit 99ec103

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libraries/Scheduler/examples/MultipleBlinks/MultipleBlinks.ino

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
#define led2 LEDG
4444
#define led3 LEDB
4545

46+
// On Edge Control there are no leds so we use GPIO and Serial
47+
#elif defined(ARDUINO_EDGE_CONTROL)
48+
49+
#define led1 CMD_TRIAC_3
50+
#define led2 CMD_TRIAC_4
51+
#define led3 NOT_A_PIN
52+
4653
#else
4754

4855
int led1 = LEDR;

0 commit comments

Comments
 (0)
0