User Tools

Site Tools


lab5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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() == SUCCESS){
          
     blinkLED();     blinkLED();
Line 116: Line 116:
   }   }
    
-  //you should make this delay shorter than your transmit delay or else messages could be lost +  //optional delay, to disable flooding serial interface 
-  delay(250);+  //delay(250);
 } }
  
lab5.1445796629.txt.gz · Last modified: 2015/10/25 20:10 by dan.tudose