matthijskooijman / arduino-lmic

:warning: This library is deprecated, see the README for alternatives.
706 stars 649 forks source link

Starting FAILURE C:\Program Files (x86)\Arduino\libraries\arduino-lmic-master\src\lmic\lmic.c:1508 #112

Open InternUSMC opened 7 years ago

InternUSMC commented 7 years ago

I am using the LMIC library with my Arduino Uno and Cytron RFM95-LoRa shield (https://docs.google.com/document/d/1qp1abcgRTBDVNplncA8T0SWsfy4XJWQmsGasRNSXrcc/view).

I have changed the pin mapping to match the pin used on the shield. I also uncommented the line #define CFG_us915 1 since the module is tuned at 915 MHz.

The error occurs on the following line number 1508 (insert print screen below).

image

Hope you can guide me on where might be the actual source of the problem. I have tried looking into the lmic documentation and also lmic.h plus radio.c but they have been unsuccessful so far.

skandragon commented 6 years ago

Just to be sure, you did comment out the #define CFG_eu868 1 line?