add modbus stuff
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#include "Arduino.h"
|
||||
|
||||
#include "Streaming.h"
|
||||
// #include "Streaming.h"
|
||||
#include "Metro.h"
|
||||
|
||||
#include "ads1210.h"
|
||||
@ -18,7 +18,7 @@ Metro secondTick = Metro(1000);
|
||||
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
// Serial.begin(9600);
|
||||
delay(1000);
|
||||
|
||||
led.begin(LED_PIN);
|
||||
@ -31,6 +31,6 @@ void loop() {
|
||||
if (secondTick.check() == 1) {
|
||||
led.toggle();
|
||||
|
||||
Serial << "AdcValue: " << _HEX(ads1210.value) << endl;
|
||||
// Serial << "AdcValue: " << _HEX(ads1210.value) << endl;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user