ready so far
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user