updated 7seg controls for new 7 seg boards
Dependencies: PixelArray WS2812 mbed
Fork of frdm_pong_table_controller by
Diff: main.h
- Revision:
- 10:554301a1579b
- Parent:
- 9:f3f194982bb3
- Child:
- 11:4a73fdc60de6
diff -r f3f194982bb3 -r 554301a1579b main.h --- a/main.h Tue Jul 11 13:02:44 2017 +0000 +++ b/main.h Wed Jul 12 10:50:45 2017 +0000 @@ -4,6 +4,7 @@ #include "mbed.h" #include "WS2812.h" #include "PixelArray.h" +#include "PinDetect.h" #define WS2812_BUF 122 #define NUM_COLORS 6 @@ -32,7 +33,7 @@ //K64F On-board Switches DigitalIn PB1(PTC6); DigitalIn PB2(PTA4); -InterruptIn idleButton(PTC11); +PinDetect idleButton(PTC11); // SERIAL RawSerial pc(USBTX, USBRX); // tx, rx