Merge pull request #61 from adrcunha/master

Cleanup general definitions in MQUnifiedSensor.h
This commit is contained in:
Miguel Angel Califa Urquiza 2023-04-11 07:13:18 -05:00 committed by GitHub
commit 1c131eed65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,8 @@
#include "MQUnifiedsensor.h"
#define retries 2
#define retry_interval 20
MQUnifiedsensor::MQUnifiedsensor(String Placa, float Voltage_Resolution, int ADC_Bit_Resolution, int pin, String type) {
this->_pin = pin;
Placa.toCharArray(this->_placa, 20);

View File

@ -6,10 +6,6 @@
/***********************Software Related Macros************************************/
#define ADC_RESOLUTION 10 // for 10bit analog to digital converter.
#define retries 2
#define retry_interval 20
class MQUnifiedsensor
{
public: