Proximity sensor mqtt version
Dependencies: MQTT-JMF WNCInterface mbed-rtos mbed
Fork of WNCInterface_MQTT_hivemq by
Diff: k64f.h
- Revision:
- 0:73334e2a82be
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/k64f.h Wed Sep 21 17:32:51 2016 +0000 @@ -0,0 +1,14 @@ +#ifndef K64F_H_ +#define K64F_H_ + +typedef enum color {off, red, green, blue} color_t; + +//Serial pc(USBTX, USBRX); +DigitalOut redLED(LED_RED); +DigitalOut greenLED(LED_GREEN); +DigitalOut blueLED(LED_BLUE); +InterruptIn switch2(SW2); +InterruptIn switch3(SW3); + +#endif // K64F.H +