jeudi 9 février 2017

picaxe 28x1 random number generator

I have some simple code using the random number function from picaxes website (slightly adapted)

symbol counter = b7
symbol randword = b5
for counter = 0 to 10

let randword = timer
random randword

write counter, b5
next counter

end

For some reason on picaxe editor version 5 this works perfectly but on picaxe editor 6 all it does is give out 2's, not very random, I have no idea why.

Any help much appreciated

Thanks




Aucun commentaire:

Enregistrer un commentaire