hellomqttt to thingspeak mqtt and ifttt
Dependencies: Servo MQTTPacket FP
MQTT/MQTTEthernet.h
- Committer:
- jasonberry
- Date:
- 2021-05-05
- Revision:
- 25:ca1b1098c77f
File content as of revision 25:ca1b1098c77f:
#if !defined(MQTTETHERNET_H) #define MQTTETHERNET_H #include "MQTTmbed.h" #include "EthernetInterface.h" #include "MQTTSocket.h" class MQTTEthernet : public MQTTSocket { public: MQTTEthernet() : MQTTSocket(ð) { eth.connect(); } EthernetInterface& getEth() { return eth; } private: EthernetInterface eth; }; #endif