8000 CircuitPython 3.0.1 breaks built in NeoPixel on Feather M4 Express · Issue #1140 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

CircuitPython 3.0.1 breaks built in NeoPixel on Feather M4 Express #1140

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

Closed
ash0x1b opened this issue Aug 23, 2018 · 8 comments
Closed

CircuitPython 3.0.1 breaks built in NeoPixel on Feather M4 Express #1140

ash0x1b opened this issue Aug 23, 2018 · 8 comments

Comments

@ash0x1b
Copy link
ash0x1b commented Aug 23, 2018

After upgrading to CP 3.0.1, built in NeoPixel does't work anymore. It doesn't indicate the CP state with green/white and driving it with code has no effect.

Code below works in 3.0.0, doesn't work in 3.0.1

import time
import board

import neopixel
led = neopixel.NeoPixel(board.NEOPIXEL, 1)
 
led.brightness = 0.3
 
while True:
    led[0] = (255, 0, 0)
    time.sleep(0.5)
    led[0] = (0, 255, 0)
    time.sleep(0.5)
    led[0] = (0, 0, 255)
    time.sleep(0.5)
@jerryneedell
Copy link
Collaborator

I have also reproduced this issue on a feather_m4_express and on a metro_m4_express :-(

@jerryneedell
Copy link
Collaborator

This is likely a result of PR #1132 -- I will experiment with the timing to try to resolve it.

@deshipu
Copy link
deshipu commented Aug 23, 2018

Perhaps at some point we will need to add a parameter telling the neopixel code whether they are powered with 3.3V or 5V.

@jerryneedell
Copy link
Collaborator

submitted PR #1141 - this seems to work.

@dhalbert
Copy link
Collaborator

@ash0x1b could you try this build, which includes #1141, and see if it works on your board? Thanks.

https://adafruit-circuit-python.s3.amazonaws.com/bin/feather_m4_express/adafruit-circuitpython-feather_m4_express-20180824-caa2328.uf2

@ash0x1b
Copy link
Author
ash0x1b commented Aug 24, 2018

@dhalbert I can confirm, build from caa2328 fixes the problem on both Feather M4 Express and Metro M4 Express.

I have 2 Metros M4 Express and 2 Feathers M4 Express. Yes, I always buy my boards in pairs due to magic white smoke being so eager to escape.

While both Feathers had the same issue with 3.0.1, Metros didn't. One worked fine but the other one presented the same issue. Both Metro boards were purchased at the same time from Mouser so I assume they were from the same batch.

@dhalbert
Copy link
Collaborator

@ash0x1b Thanks! We'll do another release relatively soon.

@dhalbert
Copy link
Collaborator

Fixed by #1141.

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

No branches or pull requests

4 participants
0