Difference between revisions of "CSC270 Final Exam 2012"

From dftwiki3
Jump to: navigation, search
Line 68: Line 68:
 
   // initialize the digital pin as an output.
 
   // initialize the digital pin as an output.
 
   // Pin 13 has an LED connected on most Arduino boards:
 
   // Pin 13 has an LED connected on most Arduino boards:
   pinMode( 13, OUTPUT); // on-board LED always connected to Pin 13
+
   pinMode( 13, OUTPUT);   // on-board LED always connected to Pin 13
   pinMode( ACK, INPUT ); // ack to kit
+
   pinMode( ACK, INPUT );   // the ACK signal sent by your hardware
   pinMode( STB, OUTPUT);  // strobe from kit 
+
   pinMode( STB, OUTPUT);  // strobe signal sent to your hardware
 
   pinMode( D0, OUTPUT );
 
   pinMode( D0, OUTPUT );
 
   pinMode( D1, OUTPUT );
 
   pinMode( D1, OUTPUT );

Revision as of 08:11, 26 April 2012

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



...