You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LoRaGateway_BTS2A/fakestation/Humidite.ino

7 lines
137 B
C++

// renvoie le taux d'humidité en % du DHT12
uint16_t LireHumidite() {
float H = random(0,100);
return (uint16_t)H; // 0% à 100%
}