lab1_C09 - ECE2801: Foundations of Embedded Systems Lab...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE2801: Foundations of Embedded Systems Lab Exercise #1 -- C Term 2009 Implementing a “Simon Says” game In the late 1970’s and early 1980's, one of the most popular electronic  games was  Simon  by Hasbro.  The objective of Simon was simple. The game  displayed a  sequence using 4 lighted buttons each with a unique musical note The player’s task was to repeat from memory the sequence that game had just  played.  When the player correctly repeated a sequence a longer sequence was  played – at a faster rate.  In this lab you will implement a simplified version of the  Simon game using the Olimex MSP430F449-STK2 and its custom interface board. Assignment: Staring with the I/O functions from demo.c, implement a Simon-like game where  the 4 LED's are lit one at a time in a pseudo-random sequence (play the game at  the link above).  When the player correctly repeats the sequence either using  numbers 1 thru 4 on the keypad or the 4 buttons on the Olimex board (extra  credit!) then a longer sequence is played.  If the player makes an error then the  game should indicate it by buzzing, flashing and/or writing to the LCD.  An  example of a game would be Flash LED 2                          Answer 2 Flash LED 2  1                            Answer 2  1 Flash LED 2  1  1                        Answer 2  1   1 Flash LED 2  1  1   4                    Answer 2  1   1  4
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/12/2009 for the course ECE 2801 taught by Professor Jarvis during the Spring '08 term at WPI.

Page1 / 4

lab1_C09 - ECE2801: Foundations of Embedded Systems Lab...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online