mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-08-05 03:33:51 +02:00
21 lines
304 B
C++
21 lines
304 B
C++
#include <Arduino.h>
|
|
|
|
#include "nymealight.h"
|
|
|
|
// TEST
|
|
NymeaLight *light = nullptr;
|
|
|
|
void setup() {
|
|
// Get rid of unused warning from lib
|
|
(void)&_modes;
|
|
|
|
light = new NymeaLight(Serial, new WS2812FX(10, 13, NEO_GRB + NEO_KHZ800));
|
|
light->init();
|
|
}
|
|
|
|
void loop() {
|
|
light->process();
|
|
}
|
|
|
|
|