Thursday, April 29, 2010

Week Three - Software

This week, after deciding on using one color on the LED board, we began the work on writing the software for the project. Our goal and design was to write a wall that is generated randomly at the top of the board and travels down.

The random number generator was created bu connecting a Zener diode to ground and reading from an ADC pin. A little more logic was added to ensure at least 4 spaces are available later in the week. The code for the ball, and scoring was also written during this time.

Ball and wall, initial testing

The 'X' after the vehicle / ball dies


Check out the video for the working wall!
http://www.youtube.com/watch?v=pzAx9Wap1XU

No comments:

Post a Comment