Difference between revisions of "CSC270 Final Exam 2012"
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); | + | pinMode( 13, OUTPUT); // on-board LED always connected to Pin 13 |
pinMode( ACK, INPUT ); // ack to kit | pinMode( ACK, INPUT ); // ack to kit | ||
pinMode( STB, OUTPUT); // strobe from kit | pinMode( STB, OUTPUT); // strobe from kit |