DM300014 Microchip Technology, DM300014 Datasheet - Page 67

BOARD DEMO DSPICDEM 1.1 GEN PURP

DM300014

Manufacturer Part Number
DM300014
Description
BOARD DEMO DSPICDEM 1.1 GEN PURP
Manufacturer
Microchip Technology
Datasheet

Specifications of DM300014

Processor To Be Evaluated
PIC30F
Data Bus Width
16 bit
Interface Type
RS-485, CAN, SPI
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
B.8
 2003 Microchip Technology Inc.
EXAMPLES
EXAMPLE B-1:
This example clears the display and writes “Hi” starting at row 2, column 10. Write the
following bytes to the SPI port:
0x82
0xE7, ‘H’, 10, 2
0xA8, ‘i’
EXAMPLE B-2:
This example draws a straight line from X location (1,1) to Y location (119,3). Write the
following bytes to SPI port:
0xD7, 1, 1
0xDA, 119, 31
EXAMPLE B-3:
This example draws an icon 8 pixels tall and 3 pixels wide that looks like a ‘T’ on
row = 1, column = 19. Write the following bytes to SPI port:
0xDB, 19, 1
0xBC, 0x01
0xBC, 0xFF
0xBC, 0x01
Advance Information
// Clear screen
// Write ‘i’ at column 11, row 2 then increment the column
// Set Pixel cursor to X=1, Y=1
// Draw line to X=119, Y=31
// Set Column cursor to X=19, Row = 1
// Write pixel at top of display at column 19, increment column
// Write vertical line at column 20, increment column
// Write pixel at top of display at column 21, increment column
WRITE A WORD
// Write ‘H’ to column 10, row 2, then increment the column
DRAW A STRAIGHT LINE
DRAW AN ICON
LCD Controller Specification
DS70099B-page 63

Related parts for DM300014