.RandInt()

back to FEHRandom

Description

Returns a random integer between 0 and 32767.  No seed function is required.

Parameters

None.

Returns

A random integer between 0 and 32767.

Examples

#include <FEHRandom.h>
#include <FEHLCD.h>

int main(void)
{
    while(true)
    {
        LCD.WriteLine(Random.RandInt());
    }    
}