CAN Headers.

Revision:
0:7b71a0c6dd27
Child:
1:8e06c090e0cb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CANProtocol.h	Thu Jan 12 18:34:53 2012 +0000
@@ -0,0 +1,22 @@
+/*
+ * File: CANProtocol/CANProtocol.h
+ * Author: William Jessup Salisbury
+ * Company: Tufts Hybrid Racing Team
+ * Copyright: CC BY-NC-SA 3.0
+ * Date: 1/12/2012
+ */
+
+#ifndef CANPROTOCOL_H
+#define CANPROTOCOL_H
+
+const int CAN_RESET  = 0x100; /* Command Message: Reset */
+const int CAN_SYNC   = 0x101; /* Command Message: Sync */
+const int CAN_BRAKE  = 0x200; /* Critical Response: Brake Pedal */
+const int CAN_ACCEL  = 0x201; /* Critical Response: Accelerator Pedal */
+const int CAN_FLWS   = 0x300; /* Normal Response: Front Left Wheel Speed */
+const int CAN_FRWS   = 0x301; /* Normal Response: Front Right Wheel Speed */
+const int CAN_RLWS   = 0x302; /* Normal Response: Rear Left Wheel Speed */
+const int CAN_RRWS   = 0x303; /* Normal Response: Rear Right Wheel Speed */
+const int CAN_STATUS = 0x400; /* Relaxed Response: Status */
+
+#endif