This commit is contained in:
King Kévin 2015-07-23 10:18:38 +02:00
parent a840861904
commit e77abf2bd3
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 kbps data transfer rate.
* that corresponds 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.