Proximity sensor mqtt version
Dependencies: MQTT-JMF WNCInterface mbed-rtos mbed
Fork of WNCInterface_MQTT_hivemq by
k64f.h@2:29a6a34179ce, 2016-09-27 (annotated)
- Committer:
- elmkom
- Date:
- Tue Sep 27 15:55:10 2016 +0000
- Revision:
- 2:29a6a34179ce
- Parent:
- 0:73334e2a82be
Proximity sensor mqtt version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JMF | 0:73334e2a82be | 1 | #ifndef K64F_H_ |
JMF | 0:73334e2a82be | 2 | #define K64F_H_ |
JMF | 0:73334e2a82be | 3 | |
JMF | 0:73334e2a82be | 4 | typedef enum color {off, red, green, blue} color_t; |
JMF | 0:73334e2a82be | 5 | |
JMF | 0:73334e2a82be | 6 | //Serial pc(USBTX, USBRX); |
JMF | 0:73334e2a82be | 7 | DigitalOut redLED(LED_RED); |
JMF | 0:73334e2a82be | 8 | DigitalOut greenLED(LED_GREEN); |
JMF | 0:73334e2a82be | 9 | DigitalOut blueLED(LED_BLUE); |
JMF | 0:73334e2a82be | 10 | InterruptIn switch2(SW2); |
JMF | 0:73334e2a82be | 11 | InterruptIn switch3(SW3); |
JMF | 0:73334e2a82be | 12 | |
JMF | 0:73334e2a82be | 13 | #endif // K64F.H |
JMF | 0:73334e2a82be | 14 |