10000 Merge pull request #1141 from jerryneedell/jerryn_neopixel · sparkfun/circuitpython@caa2328 · GitHub
[go: up one dir, main page]

Skip to content

Commit caa2328

Browse files
authored
Merge pull request adafruit#1141 from jerryneedell/jerryn_neopixel
adjust SAMD51 neopixel_write timing
2 parents 182a8d7 + e8b94d0 commit caa2328

File tree

1 file changed

+2
-2
lines changed
  • ports/atmel-samd/common-hal/neopixel_write

1 file changed

+2
-2
lines changed

ports/atmel-samd/common-hal/neopixel_write/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* digitalinout,
109109
asm("nop; nop;");
110110
#endif
111111
#ifdef SAMD51
112-
delay_cycles(1);
112+
delay_cycles(2);
113113
#endif
114114
if((p & bitMask) != 0) {
115115
// This is the high delay unique to a one bit.
@@ -129,7 +129,7 @@ void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* digitalinout,
129129
asm("nop; nop;");
130130
#endif
131131
#ifdef SAMD51
132-
delay_cycles(1);
132+
delay_cycles(2);
133133
#endif
134134
}
135135
if((bitMask >>= 1) != 0) {

0 commit comments

Comments
 (0)
0