Browse Source

Implements lightLoop + Includes (WTH) FastLed

fastled
soif 7 years ago
parent
commit
0e8d2c191d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      code/espurna/espurna.ino

+ 6
- 0
code/espurna/espurna.ino View File

@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config/all.h" #include "config/all.h"
#include <EEPROM.h> #include <EEPROM.h>
#include <FastLED.h> // W.T.H. is this include ALSO needed here ?!?!!
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// METHODS // METHODS
@ -303,6 +304,11 @@ void loop() {
// Do not run the next services if system is flagged stable // Do not run the next services if system is flagged stable
if (!systemCheck()) return; if (!systemCheck()) return;
#if LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
lightLoop();
#endif
buttonLoop(); buttonLoop();
relayLoop(); relayLoop();
ledLoop(); ledLoop();


Loading…
Cancel
Save