OP7100
56
Software
Dynamic C 32 Libraries
When you are using Dynamic C 32, you must first #use op71l.lib or
#use op71p.lib
before the #use op71hw.lib line as shown below.
#use op71l.lib
or #use op71p.lib
#use op71hw.lib
Call the #use op71p.lib line to use your OP7100 in a portrait orienta-
tion, or call the #use op71l.lib line to use your OP7100 in a landscape
orientation.
OP71HW.LIB
void op71Init( void );
This call must be used to initialize the OP7100 software and hardware.
It also clears the LCD buffer and screen, sets the contrast to 35, turns
on the LCD power, and turns on the LCD backlight.
void op71BackLight( int isOn );
Turns the OP7100 backlight on or off.
PARAMETER: isOn turns the OP7100 backlight on or off.
1 to turn backlight on
0 to turn backlight off
void op71Power( int isOn );
Turns the OP7100 power on or off.
PARAMETER: isOn turns the OP7100 power on or off.
1 to turn power on
0 to turn power off
void op71SetContrast( unsigned level );
Sets the OP7100 contrast level.
PARAMETER: level is the contrast level (0–63), visibility increases
with a lower level.
void op71BlankScreen( void );
Blanks (sets to white) the OP7100 screen.
void op71FillScreen( char pattern );
Fills the OP7100 LCD screen with a pattern. The screen will be set to
all black if the pattern is 0xFF, all white if the pattern is 0x00, and
vertical stripes for any other pattern.