experiment 9
alesh
Posts: 1
i am doing experiment 9 which is the digital die. i have completed it but now i want to put two dice on it. how do i make the two dice show·different numbers. because right now i have two dice working but they always show the same numbers what should i change to make them show different random numbers?
Comments
· die1 = rndVal.BYTE0 // 6 + 1
· die2 = rndVal.BYTE1 // 6 + 1
The variable rndVal is a Word that is mixed up by the RANDOM function.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax