Repository navigation
ws2812: support the Teensy 3.6 - #933
Merged
Merged
Conversation
Member
|
Thanks, this looks good. Could you add a smoketest line so CI builds the mk66f18 path? |
Generate Cortex-M timing for 180 MHz, and add a Teensy 3.6 pin to the example. The MK66F18 has no Pin.PortMaskSet, so on that chip the driver writes the bit-band aliases from Pin.Fast() instead. Other Cortex-M chips still use PortMaskSet, and their code size does not change. Measured on a Teensy 3.6 driving 10 WS2813 LEDs: T0H 350 to 360 ns and T1H 1050 to 1060 ns.
davecheney
force-pushed
the
ws2812-teensy36
branch
from
October 27, 2026 11:24
5155b8e to
16eab50
Compare
Contributor
Author
|
@deadprogram PTAL |
deadprogram
approved these changes
Oct 27, 2026
deadprogram
left a comment
Member
There was a problem hiding this comment.
Thanks @davecheney now merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate Cortex-M timing for 180 MHz, and add a Teensy 3.6 pin to the example. The MK66F18 has no Pin.PortMaskSet, so on that chip the driver writes the bit-band aliases from Pin.Fast() instead. Other Cortex-M chips still use PortMaskSet, and their code size does not change.
Measured on a Teensy 3.6 driving 10 WS2813 LEDs: T0H 350 to 360 ns and T1H 1050 to 1060 ns.