![](/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:
- 0:68ce46607848
- Child:
- 1:b409ad65466a
diff -r 000000000000 -r 68ce46607848 CommonVariable.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CommonVariable.h Wed Apr 02 09:13:57 2014 +0000 @@ -0,0 +1,13 @@ +#ifndef COMMON_VARIABLE_H +#define COMMON_VARIABLE_H +#include "MCP23017.h" +#include "WattBob_TextLCD.h" +#include "mbed.h" + +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 DigitalOut led2(LED2); +static DigitalOut led1(LED1); + +#endif \ No newline at end of file