Difference between revisions of "CSC270 Final Exam 2012"

From dftwiki3
Jump to: navigation, search
Line 219: Line 219:
 
   // wait till STB == 0
 
   // wait till STB == 0
 
   while ( digitalRead( STB ) == HIGH )     
 
   while ( digitalRead( STB ) == HIGH )     
     delay( 10 );  // wait a bit second
+
     delay( 10 );  // wait 10 ms
 
    
 
    
 
   // STB is low.  Read the data
 
   // STB is low.  Read the data

Revision as of 13:24, 26 April 2012

--D. Thiebaut 23:04, 25 April 2012 (EDT)



...