All the commit done for assignment 3
Dependencies: MCP23017 Servo WattBob_TextLCD mbed mbed-rtos
Diff: main.cpp
- Revision:
- 3:e8046c9a605c
- Parent:
- 2:b9c8c2e5fc90
- Child:
- 4:9f5ebb8d85ba
diff -r b9c8c2e5fc90 -r e8046c9a605c main.cpp --- a/main.cpp Tue Apr 04 16:17:52 2017 +0000 +++ b/main.cpp Tue Apr 04 17:45:46 2017 +0000 @@ -25,7 +25,7 @@ WattBob_TextLCD *lcd; // pointer to 2*16 chacater LCD object Serial serpc(USBTX, USBRX); // serial usb connection tx, rx AnalogIn AinBreak(p15); // Port for the Break Value -AnalogIn AinAccel(p16); // Port for the Accelerator Value +AnalogIn AinAccel(p18); // Port for the Accelerator Value DigitalIn DinSwitchEngine(p11); // Port for the Engine Switch DigitalIn DinSwitchLight(p12); // Port for the Light Switch DigitalIn DinSwitchRindic(p13); // Port for the Right Indicator