back to FEHLCD
Description
This function is used to clear the whole Proteus screen to a black screen (or the last color set by the .SetBackground() function). If a color parameter is specified in the function, the screen is cleared to that color screen.
Syntax
.Clear( )
.Clear( color )
Parameters
color
: FEHLCDColor as input; for enumeration colors, see the FEHLCD.h page.
If no color is specified, the screen defaults to the last color assigned by .SetBackgroundColor() (or black if it hasn’t been set).
Returns
None.
Examples
#include <FEHLCD.h> int main(void) { //Write "Hello World" to screen LCD.WriteLine("Hello World"); //Clear the screen to a blue screen LCD.Clear(BLUE); } }