store debug and info in eeprom too

This commit is contained in:
hg
2014-03-04 19:08:19 +01:00
parent 61b90393dc
commit f2162af9c6
5 changed files with 100 additions and 27 deletions

View File

@ -4,10 +4,12 @@
#include "test.h"
#include "uptime.h"
#include "thermometer.h"
#include "Config.h"
static CmdServer cmdServer(&Serial);
static TestCmd testCmd;
static ConfigInvalidateCmd configInvalidateCmd;
static Uptime uptime;
static Thermometer thermometer;
@ -15,6 +17,7 @@ static Thermometer thermometer;
void setup() {
cmdServer.begin();
testCmd.registerYourself(&cmdServer);
configInvalidateCmd.registerYourself(&cmdServer);
uptime.begin(&cmdServer);
thermometer.begin(&cmdServer);