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 Muaiyd Al-Zandi

Committer:
muaiyd
Date:
Wed Apr 02 09:13:57 2014 +0000
Revision:
0:68ce46607848
Child:
1:b409ad65466a
First RTOS with Class

Who changed what in which revision?

UserRevisionLine numberNew contents of line
muaiyd 0:68ce46607848 1 #ifndef COMMON_VARIABLE_H
muaiyd 0:68ce46607848 2 #define COMMON_VARIABLE_H
muaiyd 0:68ce46607848 3 #include "MCP23017.h"
muaiyd 0:68ce46607848 4 #include "WattBob_TextLCD.h"
muaiyd 0:68ce46607848 5 #include "mbed.h"
muaiyd 0:68ce46607848 6
muaiyd 0:68ce46607848 7 static MCP23017 Port(p9,p10,0x40) ; // 16-bit object with I2C Chip MCP23017
muaiyd 0:68ce46607848 8 static WattBob_TextLCD LCD(&Port); // A 2*16 chacater LCD object
muaiyd 0:68ce46607848 9
muaiyd 0:68ce46607848 10 static DigitalOut led2(LED2);
muaiyd 0:68ce46607848 11 static DigitalOut led1(LED1);
muaiyd 0:68ce46607848 12
muaiyd 0:68ce46607848 13 #endif