Prototyping the Adaptable Emergency System on an C027 board.

Dependencies:   C027_Support mbed

Fork of c027_prototyping by Philémon Favrod

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?

UserRevisionLine numberNew 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 }