-
Notifications
You must be signed in to change notification settings - Fork 18
match the latest core code #46
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't test, just feedback about the comments.
# NeoPixels are 800khz bit streams. Zeroes are 1/3 duty cycle (~416ns) and ones | ||
# are 2/3 duty cycle (~833ns). | ||
# NeoPixels are 800khz bit streams. We are choosing zeros as <312ns hi, 936 lo> and ones | ||
# and ones as <700 ns hi, 556 ns lo>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a repetition of "and ones"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dhalbert will want to fix this in the core, I think I faithfully copy-pasted it 😀
examples/pioasm_neopixel.py
Outdated
# are 2/3 duty cycle (~833ns). | ||
# NeoPixels are 800khz bit streams. We are choosing zeros as <312ns hi, 936 lo> and ones | ||
# and ones as <700 ns hi, 556 ns lo>. | ||
# cycle. The first two instructions always run while only one of the two final |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "cycle" may be a carryover from the old text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet! Didn't test, but everything looks good to me!
Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO055 to 5.4.1 from 5.4.0: > change discord badge > Patch: Replaced discord badge image > Updated gitignore > Update Black to latest. Updating https://github.com/adafruit/Adafruit_CircuitPython_RFM9x to 2.2.4 from 2.2.3: > Merge pull request adafruit/Adafruit_CircuitPython_RFM9x#73 from jcerise/65/missing_type_annotations > change discord badge > Patch: Replaced discord badge image > Updated gitignore > Update Black to latest. > Fixed readthedocs build > Consolidate Documentation sections of README Updating https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad to 1.16.1 from 1.16.0: > Merge pull request adafruit/Adafruit_CircuitPython_ImageLoad#60 from matt-land/add-typing Updating https://github.com/adafruit/Adafruit_CircuitPython_JWT to 1.2.6 from 1.2.5: > Merge pull request adafruit/Adafruit_CircuitPython_JWT#11 from ktkinsey37/typing > change discord badge > Patch: Replaced discord badge image > Updated gitignore > Update Black to latest. > Fixed readthedocs build > Consolidate Documentation sections of README Updating https://github.com/adafruit/Adafruit_CircuitPython_PIOASM to 0.7.2 from 0.7.1: > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#47 from jepler/example-updates-background > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#46 from jepler/neopixel-match-core > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#45 from jepler/background-morse
Dan changed the neopixel timing in the core based on extensive research. In an attempt to stamp out misinformation, update it here too. Tested on a macropad.