Skip to content

Conversation

jacobrosenthal
Copy link

I can't test the example as I don't have an m4, perhaps someone else can? Note this is only working for 1 led on the pygamer, so should be tested with more than 1 led to see if the problem is in this crate.

Jacob and others added 2 commits October 19, 2019 11:27
@jacobrosenthal
Copy link
Author

The one led not even working anymore. I have a feeling timings are odd. Unwrapping definately takes instructions, I tried changing those out for let _ but that doesnt fix it
Do you know how many instructions delay is supposed to be on cortex m4? How did you land on those delay numbers?
If Im reading the adafruit library right adafruit/Adafruit_NeoPixel@a02a3c7
NEO_KHZ400
// ONE
// High 800ns
// Low 450ns
/ ZERO
// High 400ns
// Low 850ns

@sajattack
Copy link
Contributor

If I recall correctly the numbers were the cycle delay used in circuitpython.

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 this pull request may close these issues.

2 participants