define WARMUP_PERIOD for sensor warmup

This commit is contained in:
gururise 2020-04-08 10:27:49 -07:00
parent a1f1065be8
commit b7e7fbdc15
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@
#include <TasmotaSerial.h>
#ifndef WARMUP_PERIOD
#define WARMUP_PERIOD 30 // Turn on PMSX003 XX-seconds before read in passive mode
#endif
TasmotaSerial *PmsSerial;
uint8_t pms_type = 1;