Return random vaule for sensor nodes

the return value in the sensor sketches was missing the random function. Fixed that.
This commit is contained in:
Sascha 2022-07-21 11:06:49 +02:00
parent 7c15bdf675
commit 7526439d85
2 changed files with 2 additions and 2 deletions

View File

@ -29,5 +29,5 @@ float readTemp() {
}
float readHum() {
return (0,100);
return random(0,100);
}

View File

@ -29,5 +29,5 @@ float readTemp() {
}
float readHum() {
return (0,100);
return random(0,100);
}