ready so far

This commit is contained in:
hg
2016-07-10 18:38:53 +02:00
parent 627656e7b6
commit cb9483e6ff
5 changed files with 35 additions and 48 deletions

View File

@ -2,6 +2,8 @@
#include <Metro.h>
#include <Streaming.h>
#include <avr/wdt.h>
#include "hmi.h"
#include "mqttClient.h"
@ -19,9 +21,15 @@ void setup() {
hmi.tft()->println("Running");
delay(10000);
hmi.clear();
wdt_enable(WDTO_8S);
}
void loop() {
wdt_reset();
if (tick.check()) {
Serial << "tick" << endl;
}