??? 11/18/05 14:13 Read: times |
#103893 - trick to get around pseudo non random Responding to: ???'s previous message |
Erik,
I had a similar problem until I ran the results from the pseudo-random generator into the pseudo-random generator again (run the pseudo random generator, get the results and then run the results through the pseudo-random generator and use that result as the delay). Admittedly it is still possible to get two units fighting each other, but the probability of it happening is smaller than running the pseudo-random generator once. I found that the pseudo-random generator is not very random when you first start up the microcontroller. I seems to get more random as time goes on. Jacob |