Thanks,
I will try some, but how can I randomize a sequence of lighting according a numbers stored in EEPROM and finally light up all LED-s ?
Andrej
Thanks,
I will try some, but how can I randomize a sequence of lighting according a numbers stored in EEPROM and finally light up all LED-s ?
Andrej
your table could contain the lighting sequence which you want to produce
example
00011001 - light 3 leds
00100101 - light another 3 leds
11100011 - another pattern
Do this and fill your table with whatever you want.
Jerson
His projects don't use a PIC, but you might take a look at:
http://www.hometown.aol.com/tractionfan/projects.htm
You can make a PIC emulate the twisted ring counter he uses, or do it with random number generation, all without EEPROM tables. If you want some code examples of both approaches, I can send them to you.
Russ
N0EVC, xWB6ONT, xWN6ONT
"Easy to use" is easy to say.
Bookmarks