This commit is contained in:
hg
2014-02-23 23:42:22 +01:00
parent a8d1708512
commit 0c111dd818
3 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,5 @@
#include "ThermometerPro.h"
#include "AD7190.h"
#include "cmd.h"
#include "test.h"
@ -12,14 +11,11 @@ static TestCmd testCmd;
static Uptime uptime;
void setup() {
cmdServer.begin();
testCmd.registerYourself(&cmdServer);
uptime.begin(&cmdServer);
Serial.begin(9600);
delay(5000);
@ -62,11 +58,11 @@ float pt1000(float r) {
void loop() {
cmdServer.exec();
uptime.exec();
Serial.print("Tick\n");
AD7190_ChannelSelect(AD7190_CH_AIN4P_AINCOM);
@ -125,4 +121,5 @@ void loop() {
delay(1000);
}