HT16K33 Animator (8X8) icon HT16K33 Animator (8X8) Control for Adafruit 8x8 LED Matrix (HT16K33) via EZ-B v4 I2C; creates animations, supports module initialization and EZ-Script control. Try it →
 

Getrandomunique

Utility.getRandomUnique(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) and unique from the last returned integer.

Description

Returns a random integer between min (inclusive) and max (exclusive). This function will never return the same integer twice.