mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-15 05:17:30 +03:00
Merge pull request #61 from adrcunha/master
Cleanup general definitions in MQUnifiedSensor.h
This commit is contained in:
commit
1c131eed65
@ -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);
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user