Random numbers?

How can I generate a random number in c++arduino

bekathwia9 months ago

You can use the random(); function, here's more info about it:

https://www.arduino.cc/en/Reference/Random