mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-04 17:51:41 +02:00
chg: dev: first version of multiColorLight implemeted
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user