diff --git a/config.public.h b/config.public.h index 8b827043ca2e74a9e40e8015828c4bc7329270e6..d60cfdb572c0635cfc3acf35c30eca68b3a29508 100644 --- a/config.public.h +++ b/config.public.h @@ -108,6 +108,11 @@ * LoRaWAN */ +// Region and transceiver type should be specified in: +// * Arduino/libraries/MCCI_LoRaWAN_LMIC_library/project_config/lmic_project_config.h for Arduino IDE +// * platformio.ini for PlatformIO +// See https://github.com/mcci-catena/arduino-lmic#configuration for more information + // Should data be sent over LoRaWAN? // It has been tested with "TTGO ESP32 SX1276 LoRa 868" and will only work with an ESP32 + LoRa modem # define LORAWAN diff --git a/lorawan.h b/lorawan.h index 89dbb53c5616e55f45b2babe1ad6600b86453e9f..74e7917737be0a602987528679536f536143a514 100644 --- a/lorawan.h +++ b/lorawan.h @@ -10,9 +10,6 @@ #include typedef uint8_t u1_t; -//TODO: Should lmic_project_config.h be defined somewhere? -//#include - #include "co2_sensor.h" #include "led_effects.h" #include "config.h"