The Code Repository for the REV0 Steering Wheel.

Dependencies:   CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses

Fork of REVO_Updated_Steering by Penn Electric

Committer:
tmccurbin
Date:
Thu Jan 29 04:27:19 2015 +0000
Revision:
36:8544a8900884
Child:
40:92f08fdc32df
MAJOR UPDATE; New libraries added for screens, buffers, & CAN addresses.; CAN data displays in real-time.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tmccurbin 36:8544a8900884 1 #define _size 10
tmccurbin 36:8544a8900884 2
tmccurbin 36:8544a8900884 3 // Battery
tmccurbin 36:8544a8900884 4 char BigBatLifeBuffer[_size];
tmccurbin 36:8544a8900884 5 char SmallBatLifeBuffer[_size];
tmccurbin 36:8544a8900884 6 char BigBatVoltBuffer[_size];
tmccurbin 36:8544a8900884 7 char BigBatPowerBuffer[_size];
tmccurbin 36:8544a8900884 8 char BigBatCurrentBuffer[_size];
tmccurbin 36:8544a8900884 9 char AvgBatTBuffer[_size];
tmccurbin 36:8544a8900884 10 char MaxBatTBuffer[_size];
tmccurbin 36:8544a8900884 11 char MinBatTBuffer[_size];
tmccurbin 36:8544a8900884 12 char VminBuffer[_size];
tmccurbin 36:8544a8900884 13 char VmaxBuffer[_size];
tmccurbin 36:8544a8900884 14 char VavgBuffer[_size];
tmccurbin 36:8544a8900884 15 char BoardTempBuffer[_size];
tmccurbin 36:8544a8900884 16
tmccurbin 36:8544a8900884 17 // Motor
tmccurbin 36:8544a8900884 18 char LMtrTmpBuffer[_size];
tmccurbin 36:8544a8900884 19 char RMtrTmpBuffer[_size];
tmccurbin 36:8544a8900884 20 char LAirTmpBuffer[_size];
tmccurbin 36:8544a8900884 21 char RAirTmpBuffer[_size];
tmccurbin 36:8544a8900884 22 char LIGBTmpBuffer[_size];
tmccurbin 36:8544a8900884 23 char RIGBTmpBuffer[_size];
tmccurbin 36:8544a8900884 24 char Rpm_LBuffer[_size];
tmccurbin 36:8544a8900884 25 char Rpm_RBuffer[_size];
tmccurbin 36:8544a8900884 26 char TRequestBufferL[_size];
tmccurbin 36:8544a8900884 27 char TRequestBufferR[_size];
tmccurbin 36:8544a8900884 28
tmccurbin 36:8544a8900884 29 // System Management
tmccurbin 36:8544a8900884 30 char SmallBatCurrentBuffer[_size];
tmccurbin 36:8544a8900884 31 char ShtdSwtchBuffer[_size];
tmccurbin 36:8544a8900884 32 char Fan1Buffer[_size];
tmccurbin 36:8544a8900884 33 char Fan2Buffer[_size];
tmccurbin 36:8544a8900884 34 char Pump1Buffer[_size];
tmccurbin 36:8544a8900884 35 char Pump2Buffer[_size];
tmccurbin 36:8544a8900884 36 char DCDCBuffer[_size];
tmccurbin 36:8544a8900884 37 char IMDRBuffer[_size];
tmccurbin 36:8544a8900884 38
tmccurbin 36:8544a8900884 39 // Miscellaneous Incoming
tmccurbin 36:8544a8900884 40 char CarSpdBuffer[_size];
tmccurbin 36:8544a8900884 41 char ChargeCurrBuffer[_size];
tmccurbin 36:8544a8900884 42 char SourceVBuffer[_size];
tmccurbin 36:8544a8900884 43 char Fault1Buffer[_size];
tmccurbin 36:8544a8900884 44
tmccurbin 36:8544a8900884 45 // Outgoing
tmccurbin 36:8544a8900884 46 char ConnectedStatusBuffer = 0;
tmccurbin 36:8544a8900884 47 char DriveStatus;
tmccurbin 36:8544a8900884 48 char DriveStatusRequestBuffer;
tmccurbin 36:8544a8900884 49 char TxResetBuffer = 1;
tmccurbin 36:8544a8900884 50
tmccurbin 36:8544a8900884 51
tmccurbin 36:8544a8900884 52 //char CAN1Buffer[_size]; USED IN DEMO
tmccurbin 36:8544a8900884 53 //char CAN2Buffer[_size]; USED IN DEMO
tmccurbin 36:8544a8900884 54 //char CAN3Buffer[_size]; USED IN DEMO
tmccurbin 36:8544a8900884 55 //char CAN4Buffer[_size]; USED IN DEMO