sending data to DeviceHub.net

Dependencies:   EthernetInterface MQTT mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers K64F.h Source File

K64F.h

00001 #if !defined(K64F_H)
00002 #define K64F_H
00003 
00004 BusOut led2 (LED_BLUE);
00005 BusOut r (D5);
00006 BusOut g (D9);
00007 BusOut b (D8);
00008 DigitalIn Up(A2); DigitalIn Down(A3); DigitalIn Right(A4); DigitalIn Left(A5); DigitalIn Click(D4);
00009 AnalogIn ain1(A0); AnalogIn ain2(A1);
00010 
00011 #define LED2_OFF 1
00012 #define LED2_ON 0
00013 
00014 static uint32_t linkStatus(void)
00015 {
00016     return (1);
00017 }
00018 
00019 #endif