mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 03:06:33 +00:00
define WARMUP_PERIOD for sensor warmup
This commit is contained in:
parent
a1f1065be8
commit
b7e7fbdc15
@ -32,6 +32,10 @@
|
|||||||
|
|
||||||
#include <TasmotaSerial.h>
|
#include <TasmotaSerial.h>
|
||||||
|
|
||||||
|
#ifndef WARMUP_PERIOD
|
||||||
|
#define WARMUP_PERIOD 30 // Turn on PMSX003 XX-seconds before read in passive mode
|
||||||
|
#endif
|
||||||
|
|
||||||
TasmotaSerial *PmsSerial;
|
TasmotaSerial *PmsSerial;
|
||||||
|
|
||||||
uint8_t pms_type = 1;
|
uint8_t pms_type = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user