Rand

Name
rand - pseudo-random number generator

Description
Returns a pseudo-random integer in the range [0, RAND_MAX]

RAND_MAX is 32767 on Pinguino

Syntax
value = rand;
 * Output: A pseudo-random integer

Example
Blink a LED on port 11 for random periods.