Difference between revisions of "CSC270 Final Exam 2012"

From dftwiki3
Jump to: navigation, search
Line 161: Line 161:
 
* You can reset the Arduino and force it to restart the program by pressing the small push-button in the middle of the board.
 
* You can reset the Arduino and force it to restart the program by pressing the small push-button in the middle of the board.
 
* You can easily test whether your Arduino is running properly by connecting its STB to its ACK signal in a loop.  In effect you make it think it has a very very fast receiver that sets its ACK simultaneously as the STB is activated.  In other words, if you connect Pin 3 of the Arduino to its Pin 4, it will think it has a live receiver and will send all the letters of the alphabet in 13 seconds, flashing its LED for 1/2 second once a loop.
 
* You can easily test whether your Arduino is running properly by connecting its STB to its ACK signal in a loop.  In effect you make it think it has a very very fast receiver that sets its ACK simultaneously as the STB is activated.  In other words, if you connect Pin 3 of the Arduino to its Pin 4, it will think it has a live receiver and will send all the letters of the alphabet in 13 seconds, flashing its LED for 1/2 second once a loop.
 +
* You can download the Arduino IDE (free from [http://arduino.cc/hu/Main/Software http://arduino.cc]).  If you want to upload a modified version of the software to the Arduino board, make sure you set the board type in the '''Tools''' section to '''Diecimila'''.
  
 
===Arduino Receiver Code===
 
===Arduino Receiver Code===

Revision as of 09:02, 1 May 2012

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



...