LCD PIXEL WINDOW

8.11 LCD PIXEL WINDOW

The LCD Pixel window displays LCD output (upper portion of window) when the device LCD function is enabled (SFR's in lower portion of window). All LCD pixels (squares) will be background gray when LCD functionality is disabled. When enabled, pixels will appear either white (off or 0) or dark gray (on or 1).

• LCD Pixel Window Display • LCD Pixel Window Menu • LCD Pixel Window FAQ

8.11.1 LCD Pixel Window Display

For devices that support LCD output, you can view results of this by selecting View>LCD Pixel.

• LCD display area

LCD disabled: all LCD pixels will be background gray color LCD enabled: off (0) LCD pixels will appear white and on (1) LCD pixels will

appear dark gray Note: You will have to enable LCD functionality through an LCD control register

bit (e.g., for PIC16C924, set LCDCON register bit 7 (LCDEN) to 1). Consult your device data sheet.

• Address – Address of LCD-related SFR. Click to alternate list order of address, i.e., high/low or low/high.

• SFR Name – Symbolic name of special function register related to LCD function. • Hex – Hexidecimal value of SFR contents. • Decimal – Decimal value of SFR contents. • Binary – Binary value of SFR contents. • Char – ANSI character value of SFR contents.

DS51519A-page 116

 2005 Microchip Technology Inc.

MPLAB IDE Windows

8.11.2 LCD Pixel Window Menu

Below are the menu items in the LCD Display window right mouse button menu. • Close

Close this window. • Bitfield Mouseover Enable/disable bitfield mouseover. When enabled, mousing over a symbol in the

window will pop up a display of the bitfield for that symbol. • Find Find text in this window specified in the Find dialog. See Section 9.11 “Find and

Replace Dialogs”. • Find Next Find the next instance of Find text. F3 repeats the last Find. Shift+F3 reverses the direction of the last Find.

• Go To Go to the address specified in the Go To dialog. • Fill Registers Fill registers from Start Address to End Address with the value in Data. See

Section 9.9 “Fill Memory/Registers Dialog”. • Output to File Write the displayed window contents to a text file. • Print Print the contents of the window. • Refresh Refresh the data in this window. • Properties Set up window properties. See Section 9.17 “Properties Dialog”.

8.11.3 LCD Pixel Window FAQ

How do I: • Enable LCD operation?

Consult your device data sheet to determine the LCD control registers needed to set up LCD functionality (e.g., for PIC16C924, set LCDCON register bit 7 (LCDEN) to 1 to enable). Set up these registers for LCD operation in your code or find these SFR's in the lower portion of the window and click in a value field of the SFR (hex, decimal, binary or char) to enter an appropriate value.

• Turn LCD pixels on or off in the display? Consult your device data sheet to determine the LCD pixel control registers. Set

up these registers for LCD operation in your code or find these SFR's in the lower portion of the window and click in a value field of the SFR (hex, decimal, binary or char) to enter an appropriate value. The corresponding value should appear in the LCD display in the upper portion of the window.

 2005 Microchip Technology Inc.

DS51519A-page 117

MPLAB ® IDE User’s Guide