Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
gps_locate.h@3:12e1c2c71cf2, 2014-09-30 (annotated)
- Committer:
- aroulin
- Date:
- Tue Sep 30 15:38:03 2014 +0000
- Revision:
- 3:12e1c2c71cf2
- Child:
- 4:f1708f6ec905
Begin GPS encapsulation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aroulin | 3:12e1c2c71cf2 | 1 | #ifndef __GPS_LOCATE_H__ |
aroulin | 3:12e1c2c71cf2 | 2 | #define __GPS_LOCATE_H__ |
aroulin | 3:12e1c2c71cf2 | 3 | |
aroulin | 3:12e1c2c71cf2 | 4 | struct gps_data_t { |
aroulin | 3:12e1c2c71cf2 | 5 | double la; |
aroulin | 3:12e1c2c71cf2 | 6 | double lo; |
aroulin | 3:12e1c2c71cf2 | 7 | double altitude; |
aroulin | 3:12e1c2c71cf2 | 8 | double speed; |
aroulin | 3:12e1c2c71cf2 | 9 | }; |
aroulin | 3:12e1c2c71cf2 | 10 | |
aroulin | 3:12e1c2c71cf2 | 11 | int gps_on(void); |
aroulin | 3:12e1c2c71cf2 | 12 | |
aroulin | 3:12e1c2c71cf2 | 13 | int gps_off(void); |
aroulin | 3:12e1c2c71cf2 | 14 | |
aroulin | 3:12e1c2c71cf2 | 15 | int gps_locate(gps_data_t* gps_data); |
aroulin | 3:12e1c2c71cf2 | 16 | |
aroulin | 3:12e1c2c71cf2 | 17 | #endif |