Lynxmotion Smart Servos icon Lynxmotion Smart Servos Compact Lynxmotion Smart Servos with position feedback, safety features and UART TX/RX for Arduino/EZ-B v4; scriptable temp, load, load-dir and ping. Try it →
 

Getrandom

Utility.getRandom(min, max)

Parameters

min Inclusive lower bound on the random integer.
max Exclusive upper bound on the random integer.

Returns

Random integer between min (inclusive) and max (exclusive).

Description

Returns a random integer between min (inclusive) and max (exclusive).