Prototyping the Adaptable Emergency System on an C027 board.

Dependencies:   C027_Support mbed

Fork of c027_prototyping by Philémon Favrod

main.cpp

Committer:
aroulin
Date:
2014-09-30
Revision:
7:eeef6f9fa1db
Parent:
4:f1708f6ec905
Child:
11:5354c4819b25
Child:
13:3c1f0b8c1d21

File content as of revision 7:eeef6f9fa1db:

#include "mbed.h"
#include "gps_locate.h"

int main() {
    printf("Hello here is the position: ");
    struct gps_data_t gps_data;
    gps_locate(&gps_data);
    printf("https://maps.google.com/?q=%.5f,%.5f\n", gps_data.la, gps_data.lo);
    printf("End");
    return 0;
}