emfcamp / Mk4-Apps

Apps to download and run on the Mk4 badge
54 stars 121 forks source link

Neopixel issue #110

Open SteveAmor opened 6 years ago

SteveAmor commented 6 years ago

I may have a bad neopixel. The Neopixel closest to the end button doesn't work properly:

>>> from machine import Neopix
>>> n=Neopix()
>>> n.display([0xff0000,0xff0000]) # good
>>> n.display([0x00ff00,0x00ff00]) # good
>>> n.display([0x0000ff,0x0000ff])  # bad (very dim red)
>>> n.display([0xaa0000,0xaa0000])  # bad (green)

Appreciate if someone could check.

jake-walker commented 6 years ago

Also having the same issue.

dpslwk commented 6 years ago

This is firmware (Micropython port) related not hardware. The driver was rewritten 15 mins before the opening ceremony and pretty sure this is an issue where the pixels are picking up an extra edge at the start of the pulse output from the timer.

Of no one gets to it before me I’ll look with the scope next week.

Matt

On 2 Sep 2018, at 21:49, Jake Walker notifications@github.com wrote:

Also having the same issue the left one is perfectly fine though.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jburgess777 commented 6 years ago

This seems to make things better but it still ocassionally needs several attempts before the data is latched correctly: https://github.com/emfcamp/Mk4-micropython-board/pull/4