8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e742546 commit 0ebec95Copy full SHA for 0ebec95
cpp_utils/WS2812.cpp
@@ -158,7 +158,7 @@ void WS2812::show() {
158
(getChannelValueByType(this->colorOrder[2], this->pixels[i]));
159
160
ESP_LOGD(LOG_TAG, "Pixel value: %x", currentPixel);
161
- for (uint8_t j = 23; j >= 0; j--) {
+ for (int8_t j = 23; j >= 0; j--) {
162
// We have 24 bits of data representing the red, green amd blue channels. The value of the
163
// 24 bits to output is in the variable current_pixel. We now need to stream this value
164
// through RMT in most significant bit first. To do this, we iterate through each of the 24
0 commit comments