Toyomasa Watarai
/
melodic_keyboard
Melodic keyboard using 4ch PWMs
Diff: main.cpp
- Revision:
- 1:2c75ba53ee40
- Parent:
- 0:30b446b0af9a
--- 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);