Merge branch 'temp_sensor'
This commit is contained in:
commit
7f0697227a
@ -15,9 +15,9 @@ framework = arduino
|
||||
lib_deps =
|
||||
adafruit/Adafruit Unified Sensor @ ^1.1.4
|
||||
adafruit/DHT sensor library@^1.4.3
|
||||
sui77/rc-switch @ ^2.6.4
|
||||
lib_extra_dirs =
|
||||
../libraries
|
||||
~/Arduino/libraries
|
||||
build_flags = -D DHT_SENSOR=0
|
||||
upload_protocol = stk500v1
|
||||
upload_flags =
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
#include "Tmp36Sensor.h"
|
||||
#include "Dht22Sensor.h"
|
||||
|
||||
#define SEND_INTERVAL 37 // 37*8s = ~5min
|
||||
#define SEND_VCC_INTERVAL (SEND_INTERVAL*6) // every half hour
|
||||
#define SEND_INTERVAL 450 // 450*8s = ~60min
|
||||
#define SEND_VCC_INTERVAL (SEND_INTERVAL*12) // every 12 hours
|
||||
|
||||
// Pins
|
||||
#define SENDER PIN_B2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user