Microcontroller › 8051 › Seed setting for Rand() function using DS1307RTC › Hi thereIf your main focus is
December 29, 2016 at 5:37 am
#14302
Participant
Hi there
If your main focus is on randomizing stuff then you can use any ADC pin, instead of a RTC, for the same task. What I mean is read values from any ADC pin and then process it to give you the seed for rand( ). You need not to connect that ADC pin with anything alse, not even GND; well this will be the reason why you would get randon analog values. Try it out.