MQTT from mbed to node with pressure sensor data retrieval

Dependencies:   EthernetInterface FSR MQTT Queue mbed-rtos mbed

Fork of K64F-RTOS-MQTT-Example by Mike Baylis

k64f.h

Committer:
ram54288
Date:
2017-05-02
Revision:
2:11452b6f6681
Parent:
0:9796509d718e

File content as of revision 2:11452b6f6681:

#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