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.
Diff: main.cpp
- Revision:
- 1:2c75ba53ee40
- Parent:
- 0:30b446b0af9a
diff -r 30b446b0af9a -r 2c75ba53ee40 main.cpp --- a/main.cpp Mon May 04 14:50:49 2015 +0000 +++ b/main.cpp Mon May 04 14:54:28 2015 +0000 @@ -1,5 +1,9 @@ #include "mbed.h" +#if !defined(TARGET_LPC1549) +#error This program uses 4ch PWMs of the LPC1549 platfrom +#endif + DigitalIn btn_0(D0); DigitalIn btn_1(D1); DigitalIn btn_2(D2);