PDA

View Full Version : Please help. Novice!



sphinxifm
- 13th April 2008, 11:49
Hi and thanks for reading this post.
I was wondering if anyone could help and point me in the right direction?
I have written several sub routines that flash various led sequences and i would like to be able to randomley select for these sequences to be played. ie, if i have 5 labels could i make the pic call in random order a pre selected number of these routines before moving on in the main program.
Any help with this will be very helpful.

Squibcakes
- 13th April 2008, 12:16
Try this link, which might get you started. Your opening a can of worms here. :-)

http://www.picbasic.co.uk/forum/showthread.php?t=849&highlight=bartman+random

Squib

Acetronics2
- 13th April 2008, 12:38
Hi,

PbP created RANDOM and BRANCH Commands ... just thinking to your request !!! ( just joking ... )

Nothing more needed !

Alain