Skip to content

Commit c712dca

Browse files
committed
syntax fix for syntax highlighting for both md and doxygen
1 parent 4001f4b commit c712dca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The begin method returns true if the sensor is connected and available, and fals
6868
### Usage
6969

7070
#### Read Value
71+
7172
To read the value from the sensor, the *readMoistureValue()* method is called on the sensor object.
7273

7374
~~~cpp
@@ -92,12 +93,12 @@ float wetRatio = mySoilSensor.readMoistureRatio();
9293

9394
The Soil Sensor has user controllable LED and the library has two methods to control if the LED is on or off. The following example shows how to *wink* the LED.
9495

95-
```c++
96+
~~~cpp
9697
// Wink the LED during the reading
9798
mySoilSensor.LEDOn();
9899
delay(100);
99100
mySoilSensor.LEDOff();
100-
```
101+
~~~
101102
102103
## Examples
103104

0 commit comments

Comments
 (0)