kizniche / ttgo-tbeam-ttn-tracker

TTGO T-Beam Tracker for TTN Mapper and TTN Tracker using US (915 MHz) and EU (868 MHz) frequencies
https://kylegabriel.com/projects/2019/04/lorawan-tracker-and-mapper.html
GNU General Public License v3.0
267 stars 144 forks source link

Replacing lmic_project_config.h overwrites new settings #16

Closed AusUser5 closed 4 years ago

AusUser5 commented 4 years ago

Hi there, I'm looking to use your sketch with AU915, the copy/paste instructions provided overwrite latest version of the lmic_project_config.h as the lastest library version contains.

// project-specific definitions //#define CFG_eu868 1

define CFG_us915 1

//#define CFG_au915 1 //#define CFG_as923 1 // #define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP / for as923-JP / //#define CFG_kr920 1 //#define CFG_in866 1

define CFG_sx1276_radio 1

//#define LMIC_USE_INTERRUPTS<

Thought it may be better to take a copy form the original library source and edit as required.

kizniche commented 4 years ago

Good suggestion. Their library config has changed since I wrote the install instructions. Perhaps it would be better to just instruct the user to merely edit this file in the lmic library rather than providing an example file as is currently done.

AusUser5 commented 4 years ago

Yes, that would be better I think. Thanks for sharing, great project.