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: C027_Support mbed
Fork of c027_prototyping by
main.cpp@11:5354c4819b25, 2014-09-30 (annotated)
- Committer:
- philemonf
- Date:
- Tue Sep 30 18:22:15 2014 +0000
- Revision:
- 11:5354c4819b25
- Parent:
- 7:eeef6f9fa1db
- Child:
- 14:d1f114749b3c
remove mem alloc
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| philemonf | 0:164fb9518d1a | 1 | #include "mbed.h" |
| philemonf | 11:5354c4819b25 | 2 | #include "MDM.h" |
| aroulin | 7:eeef6f9fa1db | 3 | #include "gps_locate.h" |
| philemonf | 1:23ffa0e091bc | 4 | |
| philemonf | 0:164fb9518d1a | 5 | int main() { |
| aroulin | 7:eeef6f9fa1db | 6 | printf("Hello here is the position: "); |
| aroulin | 7:eeef6f9fa1db | 7 | struct gps_data_t gps_data; |
| aroulin | 7:eeef6f9fa1db | 8 | gps_locate(&gps_data); |
| aroulin | 7:eeef6f9fa1db | 9 | printf("https://maps.google.com/?q=%.5f,%.5f\n", gps_data.la, gps_data.lo); |
| aroulin | 7:eeef6f9fa1db | 10 | printf("End"); |
| philemonf | 1:23ffa0e091bc | 11 | return 0; |
| philemonf | 0:164fb9518d1a | 12 | } |
