✏️ Commenting code - read soil moisture

This commit is contained in:
0x6f736f646f
2020-08-28 00:49:23 +03:00
parent 1a9b6f4b30
commit 418bf44e4c
+1 -1
View File
@@ -211,7 +211,7 @@ float readTemp(void)
float readSoilMoisture(void)
{
// Read soil moisture
// This functions reads the soil moisture as returns the value as float
soilMoistureValue = analogRead(soilMoisturePin);
soilMoistureValue = map(soilMoistureValue, 0, 4095, 0, 100);
// Map value : 0 will be 0 and 4095 will be 1000