Added SLEEP_TIME description + examples

This commit is contained in:
seiichiro 2019-10-07 17:19:15 +00:00
parent 6f55c497b2
commit ad486cb218

View file

@ -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 };