.SetFontColor( )

back to FEHLCD

Description

This function is used to set the foreground color of the screen. You will notice the change the next time anything is written or drawn to the screen.

Syntax

.SetFontColor( color )

Parameters

color: FEHLCDColor as input; for enumeration colors, see the FEHLCD.h page.

Returns

None.

Examples

#include <FEHLCD.h>

int main(void)
{
    //Set the foreground color to Gray
    LCD.SetFontColor(GRAY);

    //Write "Hello World" to screen with your new 
    //Buckeye's themed font color
    LCD.WriteLine("Hello World");
    }   
}