Hello,
I'm working on a project that uses both the ST7735_t3 & OctoWS2811 library.
I've setup the ST7735 to use a frame buffer, I'm using Async updates using updateScreenAsync(), and I've got a few Led's being controlled using the Octo library.
For the most part everything works fine.
The issue I'm having is that if I call leds.show() from the Octo library, whilst there's an Async update from the ST7735 in progress, it can cause random glitches on the LED strip. A random led will flash briefly maybe every three or four seconds or so.
I can get around this by putting a check in to make sure that the Async update on the ST7735 is complete, before calling leds.show() which works well, and doesn't glitch out, but I'm just curious to why this was happening in the first place.
I'm guessing that due to them both using DMA, that there may be a conflict somewhere? My DMA knowledge is pretty poor, so any advice or info on this would be appreciated.
TIA
I'm working on a project that uses both the ST7735_t3 & OctoWS2811 library.
I've setup the ST7735 to use a frame buffer, I'm using Async updates using updateScreenAsync(), and I've got a few Led's being controlled using the Octo library.
For the most part everything works fine.
The issue I'm having is that if I call leds.show() from the Octo library, whilst there's an Async update from the ST7735 in progress, it can cause random glitches on the LED strip. A random led will flash briefly maybe every three or four seconds or so.
I can get around this by putting a check in to make sure that the Async update on the ST7735 is complete, before calling leds.show() which works well, and doesn't glitch out, but I'm just curious to why this was happening in the first place.
I'm guessing that due to them both using DMA, that there may be a conflict somewhere? My DMA knowledge is pretty poor, so any advice or info on this would be appreciated.
TIA