0Views1Replies

Author Options:

Random numbers? Answered

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

1 Replies

user
bekathwiaBest Answer (author)2017-02-15

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

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

Select as Best AnswerUndo Best Answer