Hi guys
I need to generate a random number to seed the srand() in a pic right after power up in general (Most likely a pic18), how do you guys do it usually? I know the internal watch dog oscillator is not very accurate, can we do something with this??
I have tried reading a floating ADC pin, but it doesn't look very random to me. Maybe I didn't do it properly?? Do I need to connect this floating ADC pin to something to create more randomness??
Thanks guys!
I need to generate a random number to seed the srand() in a pic right after power up in general (Most likely a pic18), how do you guys do it usually? I know the internal watch dog oscillator is not very accurate, can we do something with this??
I have tried reading a floating ADC pin, but it doesn't look very random to me. Maybe I didn't do it properly?? Do I need to connect this floating ADC pin to something to create more randomness??
Thanks guys!