Working example code TCP 1883.
Dependencies: EthernetInterface MQTT mbed-rtos mbed
Fork of K64F-RTOS-MQTT-Example by
k64f.h
00001 #ifndef K64F_H_ 00002 #define K64F_H_ 00003 00004 typedef enum color {off, red, green, blue} color_t; 00005 00006 Serial pc(USBTX, USBRX); 00007 DigitalOut redLED(LED_RED); 00008 DigitalOut greenLED(LED_GREEN); 00009 DigitalOut blueLED(LED_BLUE); 00010 InterruptIn switch2(SW2); 00011 InterruptIn switch3(SW3); 00012 00013 #endif // K64F.H
Generated on Wed Jul 27 2022 06:16:17 by 1.7.2