DM163010 Microchip Technology, DM163010 Datasheet - Page 30

BOARD DEMO PICDEM USB

DM163010

Manufacturer Part Number
DM163010
Description
BOARD DEMO PICDEM USB
Manufacturer
Microchip Technology
Datasheet

Specifications of DM163010

Processor To Be Evaluated
PlC16C745/765
Interface Type
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PICDEM™ USB User’s Guide
DS41174A-page 26
2.4.3
The LCD module used is a standard 2x16 character module, which uses a
LCD Driver Firmware
The lcd.asm file contains the LCD firmware. For additional information on
Table 2.4: LCD Driver Firmware
Any LCD operation can be performed with these functions. The LCD firmware
Hitachi 44780 controller.
the LCD features and command set, consult the documentation for the
Hitachi 44780 controller. The firmware provides the following functions to the
rest of the USB application.
supplied is a linkable file (lcd.asm).
Command
LCDINIT
LCDCLEAR
LCDHOME
LCDEMODE
LCDDMODE
LCDSCGA
LCDSDDA
LCDADDR
LCDPUTCHAR
LCDPUTCMD
Function
Initializes the LCD in 8-bit mode, clears the screen and
hides the cursor.
Clears the display and homes the cursor.
Homes the cursor without clearing the display.
Sets the entry mode of the display.
Required entry mode must be set in W.
b0 : 0 = no display shift 1 = display shift
b1 : 0 = auto-decrement 1 = auto-increment
b2-7 : not used
Sets the display control.
Required display mode must be set in W.
b0 : 0 = cursor blink off 1 = cursor blink on
b1 : 0 = cursor off
b2 : 0 = display off
b3-7 : not used
Sets the LCD Character RAM Address to the value in W.
This prepares the display to accept font data at the indi-
cated address.
Sets the LCD Data RAM Address to the value in W. This
prepares the display to accept characters at the indicated
cursor address. It can also be used to move the cursor
around the screen.
Returns the current address in W. Useful for saving the
current cursor position before updating the font data.
Writes the character in W to the current data memory
address. Causes a character to be placed on the screen.
Writes the byte in W to the command memory. This is
used to implement most of the previous commands. This
won’t be used frequently but if you want to use a specific
feature of the display, this is where to look.
1 = cursor on
1 = display on (display data is
intact)
©
2001 Microchip Technology Inc.

Related parts for DM163010