norbert-walter / esp32-nmea2000-obp60

nmea2000 gateway with ESP32
GNU General Public License v2.0
14 stars 10 forks source link

LED sporadically flash in a different color #87

Closed W-Geronius closed 1 month ago

W-Geronius commented 3 months ago

If the display is set to red (others haven't been tested so far), flashes of a different color will appear sporadically - blue mostly, but sometimes green flashes have also been observed

https://github.com/user-attachments/assets/2480a0d9-ef9d-470d-b298-47ac95a743de

https://github.com/user-attachments/assets/dcf23e28-f261-4d80-91df-a34c649bc251

norbert-walter commented 3 months ago

The RGB LEDs are controlled serially at 1 MHz. Due to the high number of tasks running in the firmware, data transmission errors occasionally occur. The RGB LEDs are controlled cyclically, so the errors only occur for a short time.

As a solution, the cyclic control could be replaced by an event control when the state of the LEDs changes. This should stop the flickering.

W-Geronius commented 1 month ago

seems to be gone in dev20240920

norbert-walter commented 1 month ago

Fixed in dev20240920