I'm using the board "TTGO LoRa32-OLED V1".
In the code is "ttn.begin(SS, LMIC_UNUSED_PIN, RST_LoRa, DIO0,DIO1,DIO2);"
When compiling, I get the error:
/home/jms/Arduino/libraries/TTN_esp32/src/lmic/hal/getpinmap_ttgo_TBEAM.cpp:38:21: error: 'LORA_IO0' was not declared in this scope: PIN_SX1276_DIO0 = LORA_IO0,
/home/jms/Arduino/libraries/TTN_esp32/src/lmic/hal/getpinmap_ttgo_TBEAM.cpp:39:21: error: 'LORA_IO1' was not declared in this scope: PIN_SX1276_DIO1 = LORA_IO1,
/home/jms/Arduino/libraries/TTN_esp32/src/lmic/hal/getpinmap_ttgo_TBEAM.cpp:40:21: error: 'LORA_IO2' was not declared in this scope: PIN_SX1276_DIO2 = LORA_IO2,
but that did not help.
I guess for this board, the 3 constants are not defined in the espressif headers.
Using the board "Heltec Wifi LoRa 32" it works, but then I have wrong assignments.
I'm using the board "TTGO LoRa32-OLED V1". In the code is "ttn.begin(SS, LMIC_UNUSED_PIN, RST_LoRa, DIO0,DIO1,DIO2);"
When compiling, I get the error:
I tried to use
but that did not help. I guess for this board, the 3 constants are not defined in the espressif headers. Using the board "Heltec Wifi LoRa 32" it works, but then I have wrong assignments.