Commit e0bd4f08 authored by bindu madhavi's avatar bindu madhavi
Browse files

Update soilmoisture_code.ino

parent 8a7e570e
......@@ -9,7 +9,7 @@ void setup()
{
inp=analogRead(sensor_pin)
float moisture_per=(100-(inp/1023.0)*100);
Serial.print("Soil moisture in percentage");
Serial.print("Soil moisture in percentage(%):");
Serial.print(moisture_per);
Serial.println("%");
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment