SW006010 Microchip Technology, SW006010 Datasheet - Page 75

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
 2002 Microchip Technology Inc.
SetCGRamAddr
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
SetDDRamAddr
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
WriteCmdXLCD
Device:
Function:
Include:
Prototype:
Arguments:
PIC17C4X, PIC17C756
Sets the display data address.
xlcd.h
void SetDDRamAddr (static unsigned char DDaddr);
DDaddr
Display data address.
This function sets the display data address of the Hitachi
HD44780 LCD controller. The user must first check to see if the
controller is busy by calling the BusyXLCD() function.
None
xlcd.c
char ddaddr = 0x10;
while ( BusyXLCD() );
SetDDRamAddr(ddaddr);
PIC17C4X, PIC17C756
Sets the character generator address.
xlcd.h
void SetCGRamAddr (static unsigned char CGaddr);
CGaddr
Character generator address.
This function sets the character generator address of the
Hitachi HD44780 LCD controller. The user must first check to
see if the controller is busy by calling the BusyXLCD() function.
None
xlcd.c
char cgaddr = 0x1F;
while ( BusyXLCD() );
SetCGRamAddr(cgaddr);
PIC17C4X, PIC17C756
Writes a command to the Hitachi HD44780 LCD controller.
xlcd.h
void WriteCmdXLCD (static unsigned char cmd);
cmd
The value of cmd can be one of the following values
(defined in
Function Set defines
FOUR_BIT
EIGHT_BIT
LINE_5X7
LINE_5X10
LINES_5X7
Software Peripheral Library
xlcd.h
4-bit data interface mode
8-bit data interface mode
5x7 characters, single line display
5x10 characters display
5x7 characters, multiple line display
):
apRNOVS^-page 71

Related parts for SW006010