Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Config.h
00001 #ifndef __LORACONFIG__ 00002 #define __LORACONFIG__ 00003 00004 #include "LoRa.h" 00005 #include "Sensors.h" 00006 00007 static LoRaConfig_t LoRaConfig = { 00008 "vertical-m2m", // Network name 00009 "LFW2KjYXh7xTl93SRhRc", // Network key pass 00010 5, //Frequence sub band 00011 mDot::SF_8, 00012 300, // Delay for sending a keep alive 00013 30, // Minimum delay between message 00014 }; 00015 00016 static SensorsConfig_t sensorsConfig = { 00017 PA_0, // D3 - DHT11 00018 PA_1, // D6 - Motion sensor 00019 PB_0, // A1 - Light sensor 00020 PA_2, // D1 - Switch #1 00021 PA_11,// D7 - Switch #2 00022 5, // Sensor update period in second 00023 }; 00024 00025 static int ForceUpdatePeriod = 900; 00026 00027 #endif
Generated on Wed Jul 13 2022 01:56:24 by
1.7.2