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:
- 26:c3193bc73cff
- Parent:
- 25:d72818ba17cc
- Child:
- 27:9a62663f3de2
diff -r d72818ba17cc -r c3193bc73cff PololuLedStrip.cpp --- a/PololuLedStrip.cpp Thu Nov 03 21:02:47 2016 +0000 +++ b/PololuLedStrip.cpp Wed Nov 01 23:11:49 2017 +0000 @@ -1,5 +1,12 @@ #include "PololuLedStrip.h" +// Our assembly code currently does not work with chip families like the STM32F4 +// that use the same register and a different mask for setting and clearing +// outputs. +#ifdef GPIO_IP_WITHOUT_BRR +#error This chip is not supported: does not have separate registers for setting and clearing GPIO outputs. +#endif + bool PololuLedStrip::interruptFriendly = false; // The two timed delays, in units of half-cycles.