Skip to content

A simple library to retrieve the information given from the MQ 2 sensor with Arduino

Notifications You must be signed in to change notification settings

yanoschik/MQ2Lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQ-2 sensor library

This is a simple library to use with the MQ-2 sensor and Arduino.

Based on: xerlay11/MQ-2-sensor-library

More info also here:

Usage

To install the library into the Arduino IDE, download it as zip and unzip it into your 'libraries' folder and restart the Arduino IDE.

For more on usage - see the included example.

yanoschik's fork history

v0.1

  • code reformatting and redesign (4 better readability)
  • correct Arduino library layout
  • variable and code optimization
  • corrected errors
  • reading rate reworked (implemented sample rate for sensor reading and also for each gas value)

About

A simple library to retrieve the information given from the MQ 2 sensor with Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%