added LCDReceive example

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2023-11-19 23:25:49 +01:00
parent 5fe0c22abb
commit 6cd774b00a
2 changed files with 83 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ void setup() {
}
void loop() {
delay(2000);
// read without samples.
byte temperature = 0;
byte humidity = 0;
@@ -29,7 +30,6 @@ void loop() {
return;
}
count++;
String s = String(count)+" - Sample OK: "+ String(temperature)+" *C, "+String(humidity)+"% rel";
String s = "Sample "+String(count)+" ok: "+ String(temperature)+" *C, "+String(humidity)+"% rel";
send485(s.c_str());
delay(5000);
}