From 58433d100fb47c69c69d0d545ff34b3e3d929085 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Wed, 30 Aug 2017 06:01:59 -0700 Subject: [PATCH] Use LED_BUILTIN instead of WLED when compiling on Arduino IDE --- .../SoftPWM_Wiring_HeartBeat/SoftPWM_Wiring_HeartBeat.pde | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/SoftPWM_Wiring_HeartBeat/SoftPWM_Wiring_HeartBeat.pde b/examples/SoftPWM_Wiring_HeartBeat/SoftPWM_Wiring_HeartBeat.pde index f30a5bc..b98bda6 100644 --- a/examples/SoftPWM_Wiring_HeartBeat/SoftPWM_Wiring_HeartBeat.pde +++ b/examples/SoftPWM_Wiring_HeartBeat/SoftPWM_Wiring_HeartBeat.pde @@ -1,5 +1,9 @@ #include +#ifndef WLED +#define WLED LED_BUILTIN +#endif + void setup() { SoftPWMBegin();