First version
Dependencies: mbed EthernetInterface mbed-rto
Diff: LEDDriver.cpp
- Revision:
- 51:b9da0ba69a29
- Parent:
- 48:c5cd73d93045
- Child:
- 52:45207965e160
--- a/LEDDriver.cpp Wed May 09 11:56:55 2018 +0000 +++ b/LEDDriver.cpp Wed May 09 12:29:08 2018 +0000 @@ -70,7 +70,10 @@ if(temp==0||temp==1||temp==2||temp==3) { messageList[i]=temp; - } + } + if(temp=-1){ + messageList[i]=4; + } } } else if(first==2) @@ -82,6 +85,9 @@ if(temp==0||temp==1||temp==2||temp==3) { messageList[i]=temp; + } + if(temp=-1){ + messageList[i]=4; } } }