Turn all LED on while init

This commit is contained in:
Phat Nguyen
2024-03-07 21:54:22 +07:00
parent 78b1b0975c
commit cd5ee2da18

View File

@ -35,6 +35,7 @@ void LedBar::begin(void) {
this->_bsp->LED.rgbNum, this->_bsp->LED.pin, NEO_GRB + NEO_KHZ800); this->_bsp->LED.rgbNum, this->_bsp->LED.pin, NEO_GRB + NEO_KHZ800);
pixel()->begin(); pixel()->begin();
pixel()->clear(); pixel()->clear();
pixel()->show();
this->_isBegin = true; this->_isBegin = true;