x will most likely be 0 or 65535 when you apply power. Getting a truly random number is actually quite hard. Perhaps a long wire or PCB trace acting as an antenna feeding an analog input and sample it on power on.
/Henrik.
x will most likely be 0 or 65535 when you apply power. Getting a truly random number is actually quite hard. Perhaps a long wire or PCB trace acting as an antenna feeding an analog input and sample it on power on.
/Henrik.
Bookmarks