Microchip Technology DM300024 Data Sheet

Page of 92
dsPICDEM™ 1.1 Plus Development Board User’s Guide
DS70099D-page 78
©
 2006 Microchip Technology Inc.
B.4
GENERAL COMMANDS
B.4.1
Reset Command
The Reset command resets the LCD display and PIC18F242 to their power-up state.
B.4.2
Home Command
The Home command sets all coordinate variables to their home values and leaves the 
display unchanged. 
B.4.3
HomeClear Command
The HomeClear command clears the entire display and then sets all coordinate 
variables to their home values.
B.4.4
Scroll Command
The Scroll command rolls the display in the vertical axis by the amount ScrollY. The 
LCD data array consists of 32 lines of 122 pixels each. If scrolling, value ScrollY is set 
to zero and the top row of the data array is displayed on the top row of the display.
 
Field
Form
Value
Opcode
0x80
Data
None
None
Field
Form
Value
Opcode
0x81
Data
None
None
Field
Form
Value
Opcode
0x82
Data
None
None
Field
Form
Value
Opcode
0xA3
Data
0  0  0 Y4 Y3 Y2 Y1 Y0
0-31 
Note:
The Scroll command has no effect on the various coordinate systems. It 
only changes the mapping of the data to the display (e.g., the top character 
row would be rolled to the bottom row of the display surface if ScrollY = 8 
but its location in the data array is still at 0).