Libraries to support working with GMLAN - General Motors CAN BUS network in most of their vehicles between 2007-present day. Please note this is a work in progress and not guaranteed to be correct, use at your own risk! Read commit logs / subscribe to see what has been added, it's a work in progress after all ;)
Diff: GMLAN.h
- Revision:
- 4:486fec88517e
- Parent:
- 3:09fdfec053cd
- Child:
- 5:d0b067be6d44
--- a/GMLAN.h Wed Feb 20 20:10:50 2013 +0000 +++ b/GMLAN.h Wed Mar 13 14:50:15 2013 +0000 @@ -17,7 +17,7 @@ */ #include "GMLAN_29bit.h" -// #include "GMLAN_11bit.h" +#include "GMLAN_11bit.h" #ifndef GMLAN_H #define GMLAN_H @@ -72,6 +72,9 @@ // Function to encode stored values as 29-bit header and return header packet as int int encode29bit(void); + + // Function to encode stored values as 11-bit header and return header packet as int + int encode11bit(void); }; #endif \ No newline at end of file