I am trying to bring up the test system detailed at instrucables at:
And have changed my arduino-lmic-master library config.h file to:
//#define CFG_eu868 1 #define CFG_us915 1
But I get an error
Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino Uno" In file included from C:\Arduino\libraries\arduino-lmic-master\src/lmic.h:5:0, from C:\Arduino\lora_shield_ttn\lora_shield_ttn.ino:1: C:\Arduino\lora_shield_ttn\lora_shield_ttn.ino: In function 'void setup()': lora_shield_ttn:183: error: 'DR_SF12' was not declared in this scope <snip> lora_shield_ttn:191: error: 'BAND_MILLI' was not declared in this scope LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI); // g2-band exit status 1 'DR_SF12' was not declared in this scope
I am thinking there is more configuration I need to do, maybe in rewriting the LMIC_setupChannel code to appropriate frequencies for USA?
Am I barking up the right tree, here? I'm new, and appreciate any feedback you might have.