Skip to content

Instantly share code, notes, and snippets.

@fernandolopez
Created February 27, 2018 21:05
Show Gist options
  • Save fernandolopez/ae79659913760ecdd268f724bd018831 to your computer and use it in GitHub Desktop.
Save fernandolopez/ae79659913760ecdd268f724bd018831 to your computer and use it in GitHub Desktop.
~/Arduino/libraries/arduino-lmic/project_config/lmic_project_config.h
// ~/Arduino/libraries/arduino-lmic/project_config/lmic_project_config.h
// project-specific definitions for otaa sensor
//#define CFG_eu868 1
//#define CFG_us915 1
#define CFG_au921 1
//#define CFG_as923 1
//#define CFG_in866 1
#define CFG_sx1276_radio 1
//#define LMIC_USE_INTERRUPTS
#ifdef ESP8266
#define LMIC_DEBUG_LEVEL 1
#endif
// FIXME
//#define LMIC_DEBUG_LEVEL 2
//#define LMIC_PRINTF_TO Serial1
//#define LMIC_FAILURE_TO Serial1
#define LMIC_IGNORE_MCMD_LADR_REQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment