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
Diff: PololuLedStrip.h
- Revision:
- 7:9a088f042ee0
- Parent:
- 1:102307d9b701
- Child:
- 18:34ba573573df
--- a/PololuLedStrip.h Fri Mar 01 00:31:24 2013 +0000 +++ b/PololuLedStrip.h Fri Mar 01 01:16:48 2013 +0000 @@ -51,7 +51,7 @@ This function waits for over 10 us at the end before returning to allow the colors to take effect. */ void write(rgb_color * colors, unsigned int count); - + /** This option defaults to <code>false</code>. Setting this to true changes the behavior of the write function, making it enable interrupts after each color is sent, about every 60 microseconds. @@ -64,6 +64,8 @@ @endcode */ static bool interruptFriendly; + + static void calculateDelays(); }; }