From ad486cb21829d43f08534949d14fcc45302f8f30 Mon Sep 17 00:00:00 2001 From: seiichiro Date: Mon, 7 Oct 2019 17:19:15 +0000 Subject: [PATCH] Added SLEEP_TIME description + examples --- Firmware/src/secconfig.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Firmware/src/secconfig.h b/Firmware/src/secconfig.h index dd6f6d5..01f7e1c 100644 --- a/Firmware/src/secconfig.h +++ b/Firmware/src/secconfig.h @@ -12,6 +12,12 @@ * LED Support #define LED_PIN PIN_A7 - LED is connected to ATTiny84 Pin A7 on TinyTX SMD / TinyLora + * Time between Measurements + #define SLEEP_TIME 528 - Time in Seconds between Measurements. Try it out to get a good Approximation + Examples from my Tests:: + - 528 for 10 Minute Interval with a LoRa RFM95 + BME280 + - 544 for 10 Minute Interval with a LoRa RFM95 + SHT21 + * See the following Examples for needed RF Module Parameters, uncomment and adapt the one fitting your Hardware */ @@ -20,6 +26,7 @@ #define RF_LORA #define HAS_SHT21 #define LED_PIN PIN_A7 + #define SLEEP_TIME 544 // Information from The Things Network, device configuration ACTIVATION METHOD: ABP, msb left unsigned char NwkSkey[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; unsigned char AppSkey[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };