-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FastLed dynamic ! multi pin allocation
AppEffects: - move call++ and gHue ++ from AppModLeds to effect loop - all effects loops call superclass loop - Ripples3DEffect: use interval parameter - add credentials - BouncingBalls1D (WIP) AppLedsV: - remove NUM_LEDS_FastLed (now dynamic 🎉) - rename LedsV::ledsP to LedsV::ledsPhysical (to distinguish between global ledsP (which is a pointer to LedsV::ledsPhysical) AppModLedFixGen - add pinList variable (csv of pins) - generateChFun: pinList csv to array of pins - generateChFun: use pinList to generate pin numbers in ledfix.json AppModLeds: - remove DATA_PIN (now dynamic 🎉) - remove dataPin variable - add BouncingBalls effect - move FastLed.addLeds from setup to loop.doMap - doMap: for all Leds pins, decode startLed and nrOfLeds and call FastLED.addLeds for each pin (dynamic pin allocation!).
- Loading branch information
Showing
5 changed files
with
241 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.