forced Sensor1 to 0

pico-v0.1
alanbjohnston 3 years ago committed by GitHub
parent 04366c5abb
commit c0c37961f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2216,7 +2216,8 @@ void read_payload()
sensorValue = analogRead(A3);
//Serial.println(sensorValue);
Temp = T1 + (sensorValue - R1) *((T2 - T1)/(R2 - R1));
sprintf(str, "XS %.1f %.1f\n", Temp, Sensor1);
// sprintf(str, "XS %.1f %.1f\n", Temp, Sensor1);
sprintf(str, "XS %.1f 0.0\n", Temp);
strcat(payload_str, str);
print_string(payload_str);

Loading…
Cancel
Save

Powered by TurnKey Linux.