![](/media/cache/profiles/9bf33981c43d0ebe4262d22cc72d1135.jpg.50x50_q85.jpg)
sending data to DeviceHub.net
Dependencies: EthernetInterface MQTT mbed-rtos mbed
Diff: K64F.h
- Revision:
- 0:886a2daca437
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/K64F.h Thu Oct 01 18:55:33 2015 +0000 @@ -0,0 +1,19 @@ +#if !defined(K64F_H) +#define K64F_H + +BusOut led2 (LED_BLUE); +BusOut r (D5); +BusOut g (D9); +BusOut b (D8); +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 + +static uint32_t linkStatus(void) +{ + return (1); +} + +#endif \ No newline at end of file