Added MQ135-ADS1115 example and feature

This commit is contained in:
miguel5612
2022-03-20 08:28:45 -05:00
parent 16affe479f
commit c934152cd7
3 changed files with 134 additions and 0 deletions

View File

@ -14,10 +14,12 @@ class MQUnifiedsensor
{
public:
MQUnifiedsensor(String Placa = "Arduino", float Voltage_Resolution = 5, int ADC_Bit_Resolution = 10, int pin = 1, String type = "CUSTOM MQ");
MQUnifiedsensor(String Placa = "Arduino", String type = "CUSTOM MQ");
//Functions to set values
void init();
void update();
void externalADCUpdate(float volt);
void setR0(float R0 = 10);
void setRL(float RL = 10);
void setA(float a);