Remove ADC_RESOLUTION and move retries and retry_interval to MQUnifiedsensor.cpp. These three definitions have generic names so it's easy to have them conflict with a user's sketch that imports MQUnifiedSensor.h.
ADC_RESOLUTION is unused, and retries and retry_interval are only used by getVoltage().
Fixes #60.
Type of change
Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Build examples on Arduino IDE 1.8.19. This PR doesn't change any behavior of the library.
Description
Remove ADC_RESOLUTION and move retries and retry_interval to MQUnifiedsensor.cpp. These three definitions have generic names so it's easy to have them conflict with a user's sketch that imports MQUnifiedSensor.h.
ADC_RESOLUTION is unused, and retries and retry_interval are only used by getVoltage().
Fixes #60.
Type of change
How Has This Been Tested?
Build examples on Arduino IDE 1.8.19. This PR doesn't change any behavior of the library.