Loading...
Generates an random number.
The first line returns the value of 0.. (maxval-1) value is returned. Note that the value of maxval is not the maximum value.
0.. (maxval-1)
The second line returns the value of minval..maxval-1.
minval..maxval-1
uint32_t random(uint32_t maxval) uint32_t random(uint32_t minval, uint32_t maxval)