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.
Fork of PololuLedStrip 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);