10 digit random number generator work with uin8_t

Maybe try this link...

https://forum.arduino.cc/index.php?topic=126541.0

http://forum.arduino.cc/index.php?topic=44620.0

Might need unsigned long for the format.