IUT GEII SEM 4 ER
Dependencies: C12832 EthernetInterface LM75B MFRC522 MMA7660 MQTT mbed-rtos mbed
Fork of GEII4ERS4 by
Diff: K64F.h
- Revision:
- 21:f904564e26d2
- Parent:
- 8:80d49dd91542
--- a/K64F.h Thu Jan 25 11:15:06 2018 +0000 +++ b/K64F.h Thu Feb 22 18:47:12 2018 +0000 @@ -19,7 +19,9 @@ #define K64F_H C12832 lcd(D11, D13, D12, D7, D10); +BusOut led1 (LED_RED); BusOut led2 (LED_BLUE); +BusOut led3 (LED_GREEN); BusOut r (D5); BusOut g (D9); BusOut b (D8); @@ -28,9 +30,12 @@ DigitalIn Up(A2); DigitalIn Down(A3); DigitalIn Right(A4); DigitalIn Left(A5); DigitalIn Click(D4); AnalogIn ain1(A0); AnalogIn ain2(A1); -#define LED2_OFF 1 -#define LED2_ON 0 - +#define LED1_OFF 0 +#define LED1_ON 1 +#define LED2_OFF 0 +#define LED2_ON 1 +#define LED3_OFF 0 +#define LED3_ON 1 #define DEFAULT_TYPE_NAME "iotsample-mbed-k64f" //#include "lpc_phy.h"