chg: dev: first version of multiColorLight implemeted

This commit is contained in:
hhau committed 2023-11-26 11:28:17 +01:00
1 parent e72595e739
commit 1b330e1520
5 files changed
+115 -87

No files matched your search

+7 -4
View File
@@ -1,13 +1,16 @@
#include <Dezibot.h>
#define GPIO_LED 48
Dezibot dezibot = Dezibot();
const uint8_t MYFOO = 10;
void setup() {
dezibot.begin();
}
void loop() {
dezibot.multiColorLight.setLed(TOP_LEFT,0x000000FF);
dezibot.multiColorLight.setLed(TOP_RIGHT,dezibot.multiColorLight.color(0,100,0));
dezibot.multiColorLight.blink(10,0x00FF0000,BOTTOM,500);
delay(1000);
}