Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WoYaoChengGOng V2-WoYaoChengGOng STM32_MagneticLight tape_Led_Sample ... more
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.