Skip to content

Commit

Permalink
SAMD51: fix first bit timing
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed May 17, 2019
1 parent 0a0b957 commit 8c7e19e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Adafruit_NeoPixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1688,6 +1688,7 @@ void Adafruit_NeoPixel::show(void) {

SysTick->LOAD = top; // Config SysTick for NeoPixel bit freq
SysTick->VAL = top; // Set to start value (counts down)
(void)SysTick->VAL; // Dummy read helps sync up 1st bit

for(;;) {
*set = pinMask; // Set output high
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit NeoPixel
version=1.2.2
version=1.2.3
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=Arduino library for controlling single-wire-based LED pixels and strip.
Expand Down

0 comments on commit 8c7e19e

Please sign in to comment.