You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UNO R4 WiFi NeoPixel interrupts(?) cause artifacts on a strip #1543
From my tests it seems that using any peripheral based on interrupts such as Serial or I2C (I've tested it with LiquidCrystal_I2C library) causes the strip to go wild randomly. Uncommenting noInterrupts(); and interrupts() above seems to fix the issue.
I had a similar issue, and was able to fix it by adjusting the bit timing in clockless_arm_renesas.h. I tested your code and was able to replicate the flicker with the old timing. The new timing gave flicker free output with and without interrupts. Here is the PR: #1554
Activity
samguyer commentedon Oct 10, 2023
Hello! The latest main branch has support for Uno R4. But it's not in a regular release yet.
sparky650 commentedon Oct 24, 2023
I had a similar issue, and was able to fix it by adjusting the bit timing in clockless_arm_renesas.h. I tested your code and was able to replicate the flicker with the old timing. The new timing gave flicker free output with and without interrupts. Here is the PR: #1554