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: LoRaWAN-lib-2 SingleFrequencyLora
Fork of Event_driven_GPS_plus_Lora_code_for_tom by
Revision 8:f097388abc05, committed 2018-02-01
- Comitter:
- Rishin
- Date:
- Thu Feb 01 00:19:09 2018 +0000
- Parent:
- 7:5b3d8973255f
- Commit message:
- for submission
Changed in this revision
app/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/app/main.cpp Thu Dec 14 11:23:06 2017 +0000 +++ b/app/main.cpp Thu Feb 01 00:19:09 2018 +0000 @@ -64,7 +64,7 @@ pc->putc('c'); NVIC_SystemReset(); } -void printtext(){ +void receiveGPS(){ //__disable_irq(); while((incoming != '\n')){// && (GPS_data_ready == false)){ incoming = gps->getc(); @@ -108,7 +108,7 @@ //__disable_irq(); gps->attach(NULL, Serial::RxIrq); //LoRaSend_timer.detach(); - eventQueue.call(printtext); + eventQueue.call(receiveGPS); } void createLoRaMessage(){