Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [NeoPixel] [ESP8266] NeoPixel plugins are fixed on GPIO-2 since NeoPixelBus_Wrapper was introduced #4921

Closed
tonhuisman opened this issue Dec 27, 2023 · 0 comments · Fixed by #4922

Comments

@tonhuisman
Copy link
Contributor

tonhuisman commented Dec 27, 2023

Describe the bug
ESP8266 only: Since introducing a wrapper around NeoPixelBus for Adafruit_NeoPixel compatibility, selecting a GPIO pin for connecting the pixels is available, but it is always initialized on GPIO-2.

Source: #4917 (comment)

To Reproduce
Plugins showing this behavior:

  1. P038 - Neopixel (Basic)
  2. P041 - NeoPixel (Word Clock)
  3. P042 - NeoPixel (Candle)
  4. P070 - NeoPixel Ring Clock
  5. P131 - NeoPixel Matrix

Not applicable to:

  1. P128 - NeoPixel (BusFX) : This plugin is based on the NeoPixelBus library, that ignores the GPIO selection on ESP8266

Expected behavior
The selected GPIO should be used for controlling the NeoPixels

Used platform (please complete the following information):

  • ESP type: ESP8266 (only)

Proposed solution:

  • Revert to using Adafruit_NeoPixel library for ESP8266
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant