update
This commit is contained in:
parent
ce2e217e72
commit
cc0ff602eb
1 changed files with 50 additions and 43 deletions
|
@ -50,7 +50,9 @@ void loop() {
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
Serial.write("T");
|
Serial.write("T");
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
Serial.write("26.3");
|
char lecturaStr[6]; // Buffer big enough for 7-character float
|
||||||
|
dtostrf(getDataTemp(), 2, 4, lecturaStr); // Leave room for too large numbers!
|
||||||
|
Serial.write(lecturaStr);
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
Serial.write("C");
|
Serial.write("C");
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
|
@ -62,8 +64,13 @@ void loop() {
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
Serial.write("Tur");
|
Serial.write("Tur");
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
Serial.write("26");
|
|
||||||
Serial.write("1235");
|
//char lecturaStr[6]; // Buffer big enough for 7-character float
|
||||||
|
//dtostrf(getData(), 2, 4, lecturaStr); // Leave room for too large numbers!
|
||||||
|
dtostrf(getDataTur(), 3, 2, lecturaStr); // Leave room for too large numbers!
|
||||||
|
|
||||||
|
Serial.write(lecturaStr);
|
||||||
|
Serial.write(" ");
|
||||||
Serial.write("TSS");
|
Serial.write("TSS");
|
||||||
Serial.write(" ");
|
Serial.write(" ");
|
||||||
Serial.write("99");
|
Serial.write("99");
|
||||||
|
|
Loading…
Reference in a new issue