-
Sorry to ask guys but today I'm playing with Adafruit Metro ESP32-S2 board. Neopixel is on GPIO45 I'm using latest arduino ESP32 2.0.0-alpha1 but I'm unable to compile basic example (I already used this lib in the past with several targets without any issue) so my guess it's related to ESP32-S2 I tried all the declaration (not using strip yet, just instantiate it), so if someone knows what method I should use on this board it will be awesome.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
known bug that has been fixed but not in an official release yet. Pick up the current GitHub version of NeoPixelBus. The readme has the simple instructions to accomplish this. Confirm it works for you and I will push out a release. BTW, while a single pixel may work reliably using the BitBang method, I never recommend it. See ESP32 Methods Wiki Page for details on specific methods for the ESP32 platform. |
Beta Was this translation helpful? Give feedback.
known bug that has been fixed but not in an official release yet.
#494
Pick up the current GitHub version of NeoPixelBus. The readme has the simple instructions to accomplish this.
Confirm it works for you and I will push out a release.
BTW, while a single pixel may work reliably using the BitBang method, I never recommend it. See ESP32 Methods Wiki Page for details on specific methods for the ESP32 platform.
AND, since this onboard NeoPixel is on pin 46, then BitBang can't be used as it only supports pins below 32. Just use the default method names that aren't specific to hardware/platform and the best one will be used. Like
NeoWs2812xMethod
and you will be fine.