Change data types regarding sensor readings and sensor/actuator pins from signed to unsigned

This commit is contained in:
2025-05-17 13:16:13 +02:00
parent d6bd1932d3
commit c7abf18736
4 changed files with 11 additions and 15 deletions
+1 -2
View File
@@ -38,10 +38,9 @@ int main(void) {
while(true) {
if (readSensors) {
int16_t result = moistureRead();
uint16_t result = moistureRead();
//espSend(VASE_NUM, result)
}
triggerPump(PUMP_D7, 50);
// if(espGet("ask if i need to water plants") == true) {waterPlant()}
enterSleep();
}