Skip to content

Commit b9739bd

Browse files
committed
syntax test
1 parent d9aade5 commit b9739bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,17 @@ At the start of your sketch, the library header file is included using the follo
3939
Before the arduino ```setup()``` function, create a Soil Sensor object in your file with the following declaration:
4040

4141
For I2C bus:
42+
4243
~~~c++
4344
SparkFunSoilMoistureSensorI2C mySoilSensor; // Create an instance of the sensor class
4445
~~~
4546

4647
For SPI bus:
48+
4749
~~~c++
4850
SparkFunSoilMoistureSensorSPI mySoilSensor; // Create an instance of the sensor class
4951
~~~
5052

51-
5253
### Initialization
5354

5455
In the Arduino ```setup()``` function, initialize the sensor by calling the begin method. This method is called after the Arduino `Wire` (I2C) library is initialized.

0 commit comments

Comments
 (0)