This is car control simulation by using Mbed controller and real time operating system.
Dependencies: MCP23017 Servo WattBob_TextLCD mbed-rtos mbed
Fork of Ass3 by
CommonVariable.cpp@7:a92da438d06c, 2014-04-07 (annotated)
- Committer:
- muaiyd
- Date:
- Mon Apr 07 17:15:50 2014 +0000
- Revision:
- 7:a92da438d06c
- Parent:
- 1:b409ad65466a
- Child:
- 11:7f2414ecb7ee
Finish flash indicator lights
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
muaiyd | 0:68ce46607848 | 1 | #include "CommonVariable.h" |
muaiyd | 1:b409ad65466a | 2 | |
muaiyd | 1:b409ad65466a | 3 | const uint8_t MaxSpeed = 140; |
muaiyd | 1:b409ad65466a | 4 | |
muaiyd | 1:b409ad65466a | 5 | bool EngineStat = 0; |
muaiyd | 1:b409ad65466a | 6 | bool IsOverSpeed = 0; |
muaiyd | 1:b409ad65466a | 7 | float Accelerometer_Value = 0; |
muaiyd | 1:b409ad65466a | 8 | float Brake_Value = 0; |
muaiyd | 1:b409ad65466a | 9 | uint8_t Speed[3] = {0,0,0}; |
muaiyd | 1:b409ad65466a | 10 | uint8_t Average_Speed = 0; |
muaiyd | 1:b409ad65466a | 11 | |
muaiyd | 1:b409ad65466a | 12 | float Odometer_Value = 0; |
muaiyd | 1:b409ad65466a | 13 | uint8_t Counter = 0; |