The Code Repository for the REV0 Steering Wheel.
Dependencies: CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses
Fork of REVO_Updated_Steering by
Diff: Steering.h
- Revision:
- 47:5d3c6f85fa29
- Parent:
- 40:92f08fdc32df
diff -r 701df58e923a -r 5d3c6f85fa29 Steering.h --- a/Steering.h Mon Mar 23 19:36:37 2015 +0000 +++ b/Steering.h Sat May 30 02:26:23 2015 +0000 @@ -9,9 +9,15 @@ #include "Screens.h" #include "CANQueue.h" #include "CANBuffer.h" +#include "PCM_CAN_IDs.h" +#include "AMS_CAN_IDs.h" +#include "SYS_MGMT_CAN_IDs.h" +#include "Charger_CAN_IDs.h" +#include "Steering_Wheel_CAN_IDs.h" #define GetFloat *(float*)((void*)(&Rxmsg.data[0])) #define GetFloat4 *(float*)((void*)(&Rxmsg.data[4])) +#define GetFloat8 *(float*)((void*)(&Rxmsg.data[8])) #define BLButtonGreen DigitalOut l3(P1_24,1); DigitalOut l4(P0_24,0); // SW6, SW8 respectively #define BLButtonRed DigitalOut l3(P1_24,0); DigitalOut l4(P0_24,1);