is it possible to do something like random.seed() on nucleo f401re? because after reset the values are always the same.
I will add a random_seed() in the near future. The Nucleo doesn’t have an hardware random number generator, so the generated sequence is always the same. Other boards, with hardware support, produce random sequences every time.
In the meantime one very ugly solution to have at least some randomness, is to read a floating analog value from a pin and add random numbers to it…more than suboptimal but at least it won’t be always the same sequence…