Difference between revisions of "CSC270 Final Exam 2012"

From dftwiki3
Jump to: navigation, search
Line 131: Line 131:
 
==Arduino==
 
==Arduino==
 
* The Arduino will keep its program in memory when it is powered off.  This means that as soon as you connect it to a live USB port, the sending program will start.  The Arduino will wait for the receiving hardware to activate ACK and get characters.
 
* The Arduino will keep its program in memory when it is powered off.  This means that as soon as you connect it to a live USB port, the sending program will start.  The Arduino will wait for the receiving hardware to activate ACK and get characters.
 +
* 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.
  

Revision as of 08:24, 26 April 2012

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



...