Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Servo Cayenne-LPP
Revision 63:cd8ab5860303, committed 2020-10-20
- Comitter:
- superphil06
- Date:
- Tue Oct 20 13:21:32 2020 +0000
- Parent:
- 62:10ba6387b44c
- Commit message:
- change channel for relative humidity
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Sep 27 15:34:16 2020 +0000 +++ b/main.cpp Tue Oct 20 13:21:32 2020 +0000 @@ -216,7 +216,7 @@ Payload.reset(); size = Payload.addTemperature(1, (float) fTemp); - size =size+ Payload.addRelativeHumidity(1, fRH); + size =size+ Payload.addRelativeHumidity(2, fRH); // send complete message with cayenne format retcode = lorawan.send(MBED_CONF_LORA_APP_PORT, Payload.getBuffer(), Payload.getSize(),