randomcows
New Member
I'm creating a project in Design Tech which is basically a "Follow Me" game where a sequence of lights is shown and must be copied to eventually win a prize (sweets). Every time the sequence is copied correctly an extra light is added to the sequence starting at 1. My problem is choosing a random number or numbers and storing it so that I can then check the value with the sequence entered by the user. (e.g. creating an array of numbers)
I have the use of a PIC-18 chip and 6 leds with their corresponding PTM buttons.
If anyone can point me in the right direction with a simple example I would appreciate it.
Thanks in advance,
Michael
Edited by - randomcows on 21/09/2006 23:05:47
I have the use of a PIC-18 chip and 6 leds with their corresponding PTM buttons.
If anyone can point me in the right direction with a simple example I would appreciate it.
Thanks in advance,
Michael
Edited by - randomcows on 21/09/2006 23:05:47