Generate random integer

Hi, anyone know how to generate random integer with a range in arduino code?

have a look at the random() function in the documentation (and associated randomSeed())

This is NOT an introductory tutorial.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.