for CAN communication between mbed
Dependents: EM_Logger EM_Mission
Diff: myCAN.h
- Revision:
- 1:0732a5dec208
- Parent:
- 0:89073e0112db
- Child:
- 2:e0e7269bf1f0
diff -r 89073e0112db -r 0732a5dec208 myCAN.h --- a/myCAN.h Sun Jul 21 07:02:45 2013 +0000 +++ b/myCAN.h Fri Aug 02 10:50:57 2013 +0000 @@ -17,14 +17,9 @@ float get_temp(void); int get_pres(void); - float get_a_x(void); - float get_a_y(void); - int get_a_z(void); - int get_j_x(void); - int get_j_y(void); - int get_j_z(void); + int get_roll(void); - void make_logger_senddata(char* time,int NoS,char* latitude,char* longitude,int a_z,int temp,int pres); + void make_logger_senddata(char* time,int NoS,char* latitude,char* longitude,int roll,int temp,int pres); void make_mission_senddata(void); void send(char user); @@ -39,9 +34,9 @@ char latitude[10]; char longitude[11]; - int acel[3]; - int jail[3]; - + char hroll; + char lroll; + int roll; int temp; int pres;