WS2812B
Dependents: high speed light Bracelet
Fork of PololuLedStrip by
Diff: PololuLedStrip.cpp
- Revision:
- 16:eaed541b08b0
- Parent:
- 15:d69eebdee025
- Child:
- 17:91fb934a2166
--- a/PololuLedStrip.cpp Fri Mar 01 05:05:09 2013 +0000 +++ b/PololuLedStrip.cpp Fri Mar 01 05:09:55 2013 +0000 @@ -25,8 +25,8 @@ // If you ever change these numbers, it is important to check the the subtractions below // will not overflow in the worst case, which is f_mhz = 49. led_strip_write_delays[0] = 700*f_mhz/1000 - 23; - led_strip_write_delays[1] = 600*f_mhz/1000 - 28; - led_strip_write_delays[2] = 1200*f_mhz/1000 - 23; + led_strip_write_delays[1] = 600*f_mhz/1000 - 18; + led_strip_write_delays[2] = 1200*f_mhz/1000 - 33; } // Convert from units of cycles to units of half-cycles; it makes the assembly faster.