Commit cfaa8fb7 authored by Eric Duminil's avatar Eric Duminil
Browse files

Lorawan h -> cpp

parent 89ecb4a8
......@@ -5,7 +5,10 @@
#include "led_effects.h"
#include "sensor_console.h"
#include "util.h"
#include <SPI.h>
#include <hal/hal.h>
#include <arduino_lmic_hal_boards.h>
namespace config {
// Values should be defined in config.h
......
......@@ -4,12 +4,11 @@
#include "config.h"
#if defined(AMPEL_LORAWAN) && defined(ESP32)
#include <stdint.h> // For uint32_t & uint16_t
// Requires "MCCI LoRaWAN LMIC library", which will be automatically used with PlatformIO but should be added in "Arduino IDE".
// Tested successfully with v3.2.0 and connected to a thethingsnetwork.org app.
#include <lmic.h>
#include <hal/hal.h>
#include <arduino_lmic_hal_boards.h>
namespace config {
extern uint16_t lorawan_sending_interval; // [s]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment