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.
Revision 7:dc0220f368f4, committed 2019-03-04
- Comitter:
- Luka_Danilovic
- Date:
- Mon Mar 04 15:28:08 2019 +0000
- Parent:
- 6:87f2d46b2f1b
- Child:
- 8:25eaabd4768b
- Commit message:
- ROS Wroking
Changed in this revision
| PROJ515.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/PROJ515.cpp Mon Mar 04 15:16:33 2019 +0000
+++ b/PROJ515.cpp Mon Mar 04 15:28:08 2019 +0000
@@ -92,7 +92,6 @@
gps_c = gpsSer.getc(); // Read serial buffer and store character
gpsModule.encode(gps_c); // Encode character from GPS
usbSer.printf("\n %c", gps_c); // Print out gps character
- leds = LEDS_ON; // Flash LED bus ON
} else {
leds = LEDS_OFF; // Flash LED bus OFF
@@ -101,6 +100,7 @@
if (gpsModule.location.isValid()) { // If GPS location is Valid
thread_com.set(PRINT_DATA); // Set EventFlag to Print Data
usbSer.printf("\n > LOCATION VALID <"); // Print Status Check
+ leds = LEDS_ON; // Flash LED bus ON
}
if (btn) { // If blue button is pressed