This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
lab5 [2018/11/09 09:54] dan.tudose |
lab5 [2018/11/09 09:55] (current) dan.tudose |
||
|---|---|---|---|
| Line 95: | Line 95: | ||
| void loop(){ | void loop(){ | ||
| //check and see if a data packet has come in. | //check and see if a data packet has come in. | ||
| - | if(ST.receiveData() == 6){ | + | if(ST.receiveData() == SUCCESS){ |
| | | ||
| blinkLED(); | blinkLED(); | ||