[Closed] randomize seed in sim not implemented

Continuing the discussion from Random numbers generator:

1 Like

is this an api hook problem or what type of random you using?
its probebly going to be specific to the mbed system and stdlib.h for simulator

It is just a missing implementation issue. timer has been of no use for random seed in hardware, because starts from zero at reset. we have been thinking about how to do a reliable random (timer, battery level, keypress at given time).

but actually, now that we have rtc we can implement randomize exactly the same way on pc sim and hardware

1 Like

cool, bit off topic but how will the rtc be set? i know api can do it but from user side? have to install a configure program?

1 Like

waiting for a new pcb, will report on this soon

implemented in next repo update

1 Like