debug
Fork of PololuLedStripx by
Diff: PololuLedStrip.cpp
- Revision:
- 4:d3b60bd43811
- Parent:
- 1:102307d9b701
- Child:
- 6:9d0530b7dae2
--- a/PololuLedStrip.cpp Wed Feb 27 02:45:31 2013 +0000 +++ b/PololuLedStrip.cpp Thu Feb 28 00:42:44 2013 +0000 @@ -2,6 +2,9 @@ bool PololuLedStrip::interruptFriendly = false; +// TODO: read clock frequency from SystemCoreClock and use that to make this work on different boards. +// calculate the three delays needed and pass them to the assembly. The assembly can implement them with computed jumps. + PololuLedStrip::PololuLedStrip(PinName pinName) { gpio_init(&gpio, pinName, PIN_OUTPUT);