This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lab5 [2015/10/25 20:10] 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()){ | + | if(ST.receiveData() |
| | ||
blinkLED(); | blinkLED(); | ||
Line 116: | Line 116: | ||
} | } | ||
- | //you should make this delay shorter than your transmit delay or else messages could be lost | + | //optional |
- | delay(250); | + | |
} | } | ||