update README
This commit is contained in:
parent
37040fc480
commit
5d31b90d19
14
README.md
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user