Skip to content

Commit

Permalink
Moved LED instance to header
Browse files Browse the repository at this point in the history
Something something ODR something something. Keeps the instance "hidden" and so long as I'm importing the header once it's fine.
  • Loading branch information
dmadison committed Jul 27, 2018
1 parent ecc967c commit cbda026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Arduino/DJLucio/DJLucio.ino
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ KeyboardButton jump(' ');

EffectHandler fx(dj, EffectsTimeout);

LEDHandler LED(LED_Pin, LED_Inverted);
ConnectionHelper controller(dj, DetectPin, UpdateRate, DetectTime, ConnectRate);
TurntableConfig config(dj, &DJTurntableController::buttonEuphoria, &DJTurntableController::TurntableExpansion::buttonGreen, 3000);

Expand Down
2 changes: 2 additions & 0 deletions Arduino/DJLucio/DJLucio_LED.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,6 @@ class LEDHandler {
unsigned long patternStart;
};

LEDHandler LED(LED_Pin, LED_Inverted);

#endif

0 comments on commit cbda026

Please sign in to comment.