Further to this thread...
Although using :-
adcin ch,myword
random myword
I am using the same ADC port to create 2 random numbers....:-
adcin 4,myword1
random myword1
adcin 4,myword2
random myword2
Altough the sequence is random..... I am getting repeats (the two myword results are the same)....!
Is it doable to multiply/ divide/ add the myword by a number to change iton one of the words:-
adcin 4,myword1
myword1=myword1*7 ' (myword2=myword2*5 for second one)
random myword1
I have tried the above and differing variables of it ..... But I still get the repeating outputs. Channel 4 is the only ADC channel spare enough to be doing nothing.
Thank you again for reading. Hope it makes sense
Andy
Bookmarks