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:
- 32:535acb159709
- Parent:
- 26:e0256fd314eb
- Child:
- 35:b42afc973902
--- a/Steering.h Fri Nov 14 01:43:42 2014 +0000 +++ b/Steering.h Sat Nov 15 19:07:13 2014 +0000 @@ -5,6 +5,7 @@ #include "rtos.h" #include "KS0108.h" +#include "Arial10.h" #include "Arial12.h" #include "Arial14.h" #include "Comic24.h" @@ -31,6 +32,7 @@ #define AMS_BATTERY_STATE 0x30E // AIRS 7 and 6 // Precharge 3 #define HOME_SCREEN 0 +#define BATTERY_SCREEN 1 Serial pc(USBTX,USBRX); CANBuffer CAN_Steering_Buffer(CAN1, MEDIUM, p3_26); @@ -101,7 +103,7 @@ {102,32}, //tsm }; -int maxScreen=5; +int maxScreen=2; int curr_screen; char drive_status;