From 7b55c5d4631de3db1e2d47c42ac126fd8e54890d Mon Sep 17 00:00:00 2001 From: miguel5612 Date: Thu, 15 Aug 2019 09:18:13 -0500 Subject: [PATCH] Updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 424e8e5..9d46b72 100644 --- a/README.md +++ b/README.md @@ -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 ``` -MQsensorLib Sensor1(MQ4); -ppmMethano = Sensor1.readPPM(); +MQUnifiedsensor MQ4(pin, 4); //Example if sensor is MQ4, type = 4 +float ppmCH4 = MQ4.readSensor(); ``` ### Prerequisites