Reorganize project in multiple files for readability

This commit is contained in:
Alexis Fourmaux 2026-05-03 16:21:50 +02:00
parent bfb177c0c8
commit 01289ec357
4 changed files with 87 additions and 58 deletions

22
src/config.h Normal file
View file

@ -0,0 +1,22 @@
#ifndef CONFIG_H
#define CONFIG_H
#include <Arduino.h>
#define LORA_SCK 5
#define LORA_MISO 19
#define LORA_MOSI 27
#define LORA_NSS 18
#define LORA_RST 23
#define LORA_DIO0 26
#define LORA_DIO1 33
uint64_t joinEUI = 0x35f48318e1324e2e;
uint64_t devEUI = 0x0586fe41112d83d9;
uint8_t appKey[] = {
0x0b, 0x84, 0xb4, 0x04, 0x0f, 0xd5, 0x56, 0x1b,
0x00, 0x53, 0x94, 0x22, 0xc1, 0xf1, 0x4f, 0xd6
};
uint8_t *nwkKey = appKey;
#endif