update README

This commit is contained in:
Kyle Gabriel 2019-08-25 13:08:04 -04:00
parent fcc5268977
commit c93ecaf6c6

View File

@ -19,11 +19,11 @@ NOTE: There are now 2 versions of the TTGO T-BEAM, the first version (Rev0) and
* [mikalhart/TinyGPSPlus](https://github.com/mikalhart/TinyGPSPlus)
* [ThingPulse/esp8266-oled-ssd1306](https://github.com/ThingPulse/esp8266-oled-ssd1306)
3. Edit ```arduino-lmic/project_config/lmic_project_config.h``` and uncomment the proper frequency for your region.
3. Edit the library file ```arduino-lmic/project_config/lmic_project_config.h``` and uncomment the proper frequency for your region.
4. Edit ```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).
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 ```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.
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. Add the TTN Mapper integration to your Application (and optionally the Data Storage integration if you want to access the GPS location information yourself), then add the Decoder code:
@ -49,7 +49,7 @@ function Decoder(bytes, port) {
}
```
7. Compile the Arduino code 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.
8. Turn on the device and once a GPS lock is acquired, the device will start sending data to TTN and TTN Mapper.