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.
main.h
00001 #ifndef GPSH 00002 #define GPSH 00003 00004 typedef struct GPRMC_t { 00005 char lat[11]; 00006 char lon[12]; 00007 00008 char ew[3]; 00009 char ns[3]; 00010 00011 float vel; 00012 bool valid; 00013 } GPRMC_t; 00014 00015 GPRMC_t get_gprmc(char *line); 00016 void print_gprmc(GPRMC_t packet); 00017 void rcv_callback(); 00018 void finding_gps(); 00019 00020 // Para la seleccion del setpoint de velocidad y tiempo 00021 float get_setpoint(DigitalIn enter_button, char msg[]); 00022 00023 // Paro de emergencia 00024 void stop_all(); 00025 00026 // Mandar informacion 00027 void send_gps_data(Serial connection, GPRMC_t pkt); 00028 00029 #endif
Generated on Sun Jul 24 2022 21:52:39 by
1.7.2