mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-20 19:41:47 +02:00
add turnOff LED before new programm upload
This commit is contained in:
parent
e5a3fea0bb
commit
3c0cbe1941
@ -6,6 +6,7 @@ MultiColorLight::MultiColorLight():rgbLeds(ledAmount,ledPin){
|
|||||||
|
|
||||||
void MultiColorLight::begin(void){
|
void MultiColorLight::begin(void){
|
||||||
rgbLeds.begin();
|
rgbLeds.begin();
|
||||||
|
this->turnOffLeds();
|
||||||
};
|
};
|
||||||
|
|
||||||
void MultiColorLight::setLed(uint8_t index , uint32_t color){
|
void MultiColorLight::setLed(uint8_t index , uint32_t color){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user