Forked PololuLedStrip and modified it to work with the KL25Z. Renamed it to Adafruit_NeoPixel.

Dependents:   idd_hw3 idd_fa15_hw3_lauren_bill_tomas idd_fa15_hw3_lauren_bill_tomas Raiden ... more

Fork of PololuLedStrip by David Grayson

Revision:
17:91fb934a2166
Parent:
16:eaed541b08b0
Child:
19:46d7ab0ba3e7
--- a/PololuLedStrip.cpp	Fri Mar 01 05:09:55 2013 +0000
+++ b/PololuLedStrip.cpp	Fri Mar 01 05:13:23 2013 +0000
@@ -21,7 +21,9 @@
         // Try to generally compute what the delays should be for a ide range of clock frequencies.
         
         // The fudge factors below were experimentally chosen so that we would have
-        // 700/1300 ns pulses and a ~2500 ns period on the mbed NXP LPC1768 (96 MHz Cortex-M3).
+        // ~700/1300 ns pulses and a ~2500 ns period on the mbed NXP LPC1768 (96 MHz Cortex-M3).
+        // There seem to be some ~100 ns inconsistencies in the timing depending on which example program is
+        // running; the most likely explanation is some kind of flash caching that affects the timing.
         // 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;