bme680-ttn/TTN-configuration.template.h

31 lines
697 B
C
Raw Normal View History

2020-11-24 22:47:19 +01:00
const char *devEui = "";
const char *appEui = "";
const char *appKey = "";
//config for Arduino Due, GPS connected to Serial2... Don't ask...
const lmic_pinmap lmic_pins = {
.nss = 10,
.rxtx = LMIC_UNUSED_PIN,
.rst = LMIC_UNUSED_PIN,
.dio = {2, 3, LMIC_UNUSED_PIN},
};
#define GPSSerial Serial2
//Config for TTGO T-Beam T22 v1.1
const lmic_pinmap lmic_pins = {
.nss = 18,
.rxtx = LMIC_UNUSED_PIN,
.rst = 23,
.dio = {26, 33, 32},
};
#define GPSSerial Serial1
//#define GPS_RX_PIN 34
//#define GPS_TX_PIN 12
//Heltec Lora 32 v2
const lmic_pinmap lmic_pins = {
.nss = 18,
.rxtx = LMIC_UNUSED_PIN,
.rst = 14,
.dio = {26, 34, 35},
};