All tasks complete
Dependencies: mbed MCP23017 mbed-rtos WattBob_TextLCD
Diff: assignment3tasks.cpp
- Revision:
- 11:d6d1583fc824
- Parent:
- 10:2b262d810c67
- Child:
- 12:f4052a23ddc7
--- a/assignment3tasks.cpp Wed Mar 27 13:09:26 2019 +0000 +++ b/assignment3tasks.cpp Wed Mar 27 13:41:38 2019 +0000 @@ -45,6 +45,8 @@ extern Mutex carstateXS; // +//serial port +Serial PC(USBTX, USBRX); void task1readbrake() { @@ -245,7 +247,7 @@ } } - +/* void task9indLED() { while(true){ @@ -262,23 +264,7 @@ (turnright = 1)? info.rightind = 1 :info.rightind = 0; carstateXS.unlock(); - - - //issue persists with commented code below - /* if(turnleft = 1){ - info.leftind = 1; - } - else{ - info.leftind = 0; - } - - if(turnleft = 1){ - info.rightind = 1; - } - else{ - info.rightind = 0; - } - */ + @@ -354,5 +340,5 @@ } - +*/ \ No newline at end of file