Another way of getting a really truly actually indeed working random value and FOR SURE the number you get is always different each time;
Have the Timer1 running in the background continuously;
If you need a 16-bit random value, read TMR1L and TMR1H.
If you need 8-bit value, just read TMR1L.
Good ? Bad ?
-----------------
Bookmarks