mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-23 15:36:59 +01:00
set the config adc time between read to 100 minimum so as to let space for mqtt
#129
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/*----------------------------USER PARAMETERS-----------------------------*/
|
||||
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
|
||||
#define ADC "home/ADCtoMQTT"
|
||||
#define TimeBetweenReadingADC 0 // time between 2 ADC readings, can be 0 if you want only the threshold to trigger sending
|
||||
#define TimeBetweenReadingADC 100 // time between 2 ADC readings, minimum 100 to let the time of the ESP to keep the connection
|
||||
#define ThresholdReadingADC 50 // following the comparison between the previous value and the current one +- the threshold the value will be published or not
|
||||
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
|
||||
Reference in New Issue
Block a user