jcding1980
Member level 1

Hi.
Anyone knows how to generate random number in PIC? I am thinking of using timer to increase a counter and from the counter value, I do few operations to scramble up the value in counter. Does it cause the number to be random?
Or someone got better ways or ideas to do it?
Thanks.
Anyone knows how to generate random number in PIC? I am thinking of using timer to increase a counter and from the counter value, I do few operations to scramble up the value in counter. Does it cause the number to be random?
Or someone got better ways or ideas to do it?
Thanks.