![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
Diff: CommonVariable.h
- Revision:
- 11:7f2414ecb7ee
- Parent:
- 7:a92da438d06c
- Child:
- 13:e5b22bfbe67b
--- a/CommonVariable.h Wed Apr 09 11:47:04 2014 +0000 +++ b/CommonVariable.h Tue May 06 09:11:01 2014 +0000 @@ -5,7 +5,7 @@ #include "mbed.h" #include "Servo.h" -static Servo SpeedShow_Servo(p21); +static Servo SpeedShow_Servo(p21); // Use pin 21 to control the servo static MCP23017 Port(p9,p10,0x40) ; // 16-bit object with I2C Chip MCP23017 static WattBob_TextLCD LCD(&Port); // A 2*16 chacater LCD object static BusOut OverSpeedLED(LED1 , LED2 , LED3 , LED4);