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
When running FastLED.show() every 50 miliseconds (by measuring the delta rather than with a delay) and having a servo attached without the servo being sent any code, the servo twitches. This only happens when .show() is fired.
Unfortunately, servos are driven by interrupts which get disabled while writing out ws2812 data. Either switch to an led chipset that doesn’t require disabling interrupts like the apa102 or switch to a platform that allows interrupts to run while writing out led data like the teensy 3.x.
Activity
focalintent commentedon Jun 27, 2018
Unfortunately, servos are driven by interrupts which get disabled while writing out ws2812 data. Either switch to an led chipset that doesn’t require disabling interrupts like the apa102 or switch to a platform that allows interrupts to run while writing out led data like the teensy 3.x.
focalintent commentedon Jun 27, 2018
See https://github.com/FastLED/FastLED/wiki/Interrupt-problems for more info
focalintent commentedon Jan 20, 2019
https://learn.adafruit.com/neopixels-and-servos/the-ticoservo-library was mentioned as something that might work around this.