This commit is contained in:
King Kévin 2015-07-23 00:07:14 +02:00
parent f1688ad18f
commit f3783caf43
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ void ws2812b_show(void)
return;
}
/* WS2812B LEDs use 1 bit per 1.25 us communication input.
* that correspnds to a 800 kHz data transfer rate.
* that correspnds to a 800 kbps data transfer rate.
* on a 16 MHz development board 1 clock cycle needs 62.5 ns.
* this means we have exactly 20 clock cycles to send a single bit.
* this timing constraint is hard to respect with pure C.