Skip to content

Commit

Permalink
Use LED_BUILTIN instead of WLED when compiling on Arduino IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen authored and bhagman committed Jun 7, 2018
1 parent dd9a17c commit 58433d1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include <SoftPWM.h>

#ifndef WLED
#define WLED LED_BUILTIN
#endif

void setup()
{
SoftPWMBegin();
Expand Down

0 comments on commit 58433d1

Please sign in to comment.