✏️ Commenting code - light intensity

This commit is contained in:
0x6f736f646f
2020-08-28 00:49:46 +03:00
parent 418bf44e4c
commit 1af8a8f20c
+1 -1
View File
@@ -228,7 +228,7 @@ float readSoilMoisture(void)
float readLightIntensity(void)
{
// Read light intensity
// This functions reads the light intensity as returns the value as float
ldrValue = analogRead(ldrPin);
ldrValue = map(ldrValue, 0, 4095, 100, 0);
// Map value : 0 will be 100 and 4095 will be 0