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

Neopixel Library Issue #5505

Closed
john94501 opened this issue Oct 24, 2021 · 2 comments · Fixed by #6312
Closed

Neopixel Library Issue #5505

john94501 opened this issue Oct 24, 2021 · 2 comments · Fixed by #6312

Comments

@john94501
Copy link

Hardware: ItsyBitsy M4 + Neopixel Jewel 7
Bootloader: 3.13.0
CircuitPython: 7.0.0

Initially, all 7 LEDs are off as expected. When I execute this code the center LED on the Jewel lights bright green (brighter that the 0.3 level that was selected), even though I sent them as all off:

import board
import neopixel

OFF = (0, 0, 0)
RED = (255, 0, 0)

pixels = neopixel.NeoPixel(board.A1, 7, brightness=0.3, auto_write=False)
pixels.fill(OFF)
pixels.show()

Changing the value sent to fill causes the other color elements to light up but the green is always on, so the center does not match the others. If I set them all to green, the center is brighter.

Reverted to CircuitPython 6.3.0 (nothing else changed) and it works as expected.

@john94501
Copy link
Author

Should have mentioned that the library bundle I was using was adafruit-circuitpython-bundle-7.x-mpy-20211023.zip for the 7.0.0 release, and adafruit-circuitpython-bundle-6.x-mpy-20211023.zip for the 6.3.0 release. Only neopixel.mpy was copied from the bundle to the ItsyBitsy.

@tannewt tannewt modified the milestone: 8.0.0 Oct 25, 2021
@tannewt tannewt added the bug label Oct 25, 2021
@tannewt tannewt added this to the 7.x.x milestone Oct 29, 2021
@dhalbert
Copy link
Collaborator

See if this fails if the program does not exit.
See if due to floating NeoPixel pin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants