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.cpp
- Revision:
- 24:21d6d7016965
- Parent:
- 19:46d7ab0ba3e7
--- a/PololuLedStrip.cpp Wed Sep 16 22:37:58 2015 +0000 +++ b/PololuLedStrip.cpp Thu Sep 17 02:12:45 2015 +0000 @@ -38,7 +38,7 @@ PololuLedStrip::PololuLedStrip(PinName pinName) { - gpio_init(&gpio, pinName, PIN_OUTPUT); + gpio_init_out(&gpio, pinName); } void PololuLedStrip::write(rgb_color * colors, unsigned int count)