LCD_Contrast


Sets the LCD contrast by varying the voltage on Vee pin.

ERRCODE LCD_Contrast(UBYTE contrast)

Parameters


UBYTE - Contrast level from 0 to 15

Return Value


ERRCODE - SUCCESS if operation successful, non-zero error code otherwise

Remarks


15 is the highest level of contrast. Function does NOT check if the contrast level is within limits. This is the reponsibility of caller.

Requirements


lcd.h

Example


N/A

Library


SDCC Library Reference