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