mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-15 05:17:30 +03:00
Updated readme
This commit is contained in:
parent
5394769e43
commit
7b55c5d463
@ -5,8 +5,8 @@ This is a unified library to use sensors MQ: 2, 3, 4, 5, 6, 7, 8, 9, and 135.
|
|||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
```
|
```
|
||||||
MQsensorLib Sensor1(MQ4);
|
MQUnifiedsensor MQ4(pin, 4); //Example if sensor is MQ4, type = 4
|
||||||
ppmMethano = Sensor1.readPPM();
|
float ppmCH4 = MQ4.readSensor();
|
||||||
```
|
```
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
Loading…
x
Reference in New Issue
Block a user