Mqtt433Gateway/Mqtt433Gateway.cpp
Wolfgang Hottgenroth bb4b7b5aa0 initial
2016-10-31 22:54:05 +01:00

23 lines
354 B
C++

#include "Mqtt433Gateway.h"
#include <Streaming.h>
#include <avr/wdt.h>
#include "mqttclient.h"
#include "s433client.h"
void setup() {
Serial.begin(115200);
Serial << "Mqtt433Gateway starting ..." << endl;
MqttClientNS::begin();
s433ClientNS::begin();
wdt_enable(WDTO_8S);
}
void loop() {
MqttClientNS::exec();
s433ClientNS::exec();
}