You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,30 +63,30 @@ if (mySoilSensor.begin() == false)
63
63
}
64
64
~~~
65
65
66
-
The begin method returns true if the sensor is connected and available, and false if it is not. If a value of ```false``` is returned in the above example, the sketch execution is halted.
66
+
The begin method returns true if the sensor is connected and available, and false if it is not. If a value of *false* is returned in the above example, the sketch execution is halted.
67
67
68
68
### Usage
69
69
70
70
#### Read Value
71
-
To read the value from the sensor, the ```readMoistureValue()``` method is called on the sensor object.
71
+
To read the value from the sensor, the *readMoistureValue()* method is called on the sensor object.
The value returned is from 0 (100% wet) to 1023 (0% web - "dry"). The value is a measurement of resistance between the sensors two probes. The value range is based on the capabilities of the Analog to Digital converter (ADC) on the sensors microcontroller - it's 10 bits with a max value of 2^10 = 1024.
78
78
79
-
To read the percent moist value, call the ```readMoisturePercentage()``` method:
79
+
To read the percent moist value, call the *readMoisturePercentage()* method:
0 commit comments