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:
- 26:e0256fd314eb
- Parent:
- 23:6681a38918c6
- Child:
- 32:535acb159709
--- a/Steering.h Fri Nov 14 00:21:05 2014 +0000 +++ b/Steering.h Fri Nov 14 01:43:42 2014 +0000 @@ -30,6 +30,8 @@ #define BATTERY_AVG_CELLTEMPERATURE_ID 0x30B #define AMS_BATTERY_STATE 0x30E // AIRS 7 and 6 // Precharge 3 +#define HOME_SCREEN 0 + Serial pc(USBTX,USBRX); CANBuffer CAN_Steering_Buffer(CAN1, MEDIUM, p3_26); @@ -100,7 +102,7 @@ }; int maxScreen=5; -int screen; +int curr_screen; char drive_status; char drive_status_request;