Do Basic Stamps have a Random Number Generating Capability?
Hi,
I'd like to know if there is in the PBasic code a way to
generate random numbers.
I believe I've searched the entire Parallax forum section,
and have not found anything.
I'd aprpeciate any help. Thanks.
I'd like to know if there is in the PBasic code a way to
generate random numbers.
I believe I've searched the entire Parallax forum section,
and have not found anything.
I'd aprpeciate any help. Thanks.
Comments
Main:
· DO
··· RANDOM timer
· LOOP WHILE (Trigger <> Active)
This bit of code "stirs" the variable called timer until the trigger input is activated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax