From 5d31b90d1977b8c9a1688d8861c2f8ac9aa91037 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Tue, 27 Aug 2019 18:20:42 -0400 Subject: [PATCH] update README --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8f61e18..6e04f74 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,13 @@ NOTE: There are now 2 versions of the TTGO T-BEAM, the first version (Rev0) and * [ThingPulse/esp8266-oled-ssd1306](https://github.com/ThingPulse/esp8266-oled-ssd1306) (for Rev0 and Rev1) * [lewisxhe/AXP202X_Library](https://github.com/lewisxhe/AXP202X_Library) (for Rev1 only) -3. Edit the library file ```arduino-lmic/project_config/lmic_project_config.h``` and uncomment the proper frequency for your region. +3. Copy the contents of the project file ```main/lmic_project_config.h``` to the library file ```arduino-lmic/project_config/lmic_project_config.h``` and uncomment the proper frequency for your region. -4. Edit the project file ```main/lmic_project_config.h``` and uncomment the proper frequency for your region. +4. Edit this project file ```main/configuration.h``` and select your correct board revision, either T_BEAM_V07 or T_BEAM_V10 (see [T-BEAM Board Versions](#t-beam-board-versions) to determine which board revision you have). -5. Edit this project file ```main/configuration.h``` and select your correct board revision, either T_BEAM_V07 or T_BEAM_V10 (see [T-BEAM Board Versions](#t-beam-board-versions) to determine which board revision you have). +5. Edit this project file ```main/credentials.h``` to use either ```USE_ABP``` or ```USE_OTAA``` and add the Keys/EUIs for your Application's Device from The Things Network. -6. Edit this project file ```main/credentials.h``` to use either ```USE_ABP``` or ```USE_OTAA``` and add the Keys/EUIs for your Application's Device from The Things Network. - -7. Add the TTN Mapper integration to your Application (and optionally the Data Storage integration if you want to access the GPS location information yourself or use [TTN Tracker](#ttn-tracker), then add the Decoder code: +6. Add the TTN Mapper integration to your Application (and optionally the Data Storage integration if you want to access the GPS location information yourself or use [TTN Tracker](#ttn-tracker), then add the Decoder code: ```C function Decoder(bytes, port) { @@ -52,9 +50,9 @@ function Decoder(bytes, port) { } ``` -8. Open this project file ```main/main.ino``` with the Arduino IDE and upload it to your TTGO T-Beam. +7. Open this project file ```main/main.ino``` with the Arduino IDE and upload it to your TTGO T-Beam. -9. Turn on the device and once a GPS lock is acquired, the device will start sending data to TTN and TTN Mapper. +8. Turn on the device and once a GPS lock is acquired, the device will start sending data to TTN and TTN Mapper. ### TTN Tracker