参数资料
型号: DM300014
厂商: Microchip Technology
文件页数: 67/72页
文件大小: 0K
描述: BOARD DEMO DSPICDEM 1.1 GEN PURP
标准包装: 1
LCD Controller Specification
B.8
EXAMPLES
EXAMPLE B-1:
WRITE A WORD
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:
// Clear screen
// Write ‘H’ to column 10, row 2, then increment the column
// Write ‘i’ at column 11, row 2 then increment the column
DRAW A STRAIGHT LINE
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:
// Set Pixel cursor to X=1, Y=1
// Draw line to X=119, Y=31
DRAW AN ICON
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,
0xBC,
0xBC,
0xBC,
19, 1
0x01
0xFF
0x01
//
//
//
//
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
? 2003 Microchip Technology Inc.
Advance Information
DS70099B-page 63
相关PDF资料
PDF描述
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
相关代理商/技术参数
参数描述
DM300015 功能描述:KIT DESIGN W/DM300014 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:*
DM300016 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 28P Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 制造商:Microchip Technology Inc 功能描述:Microcontroller Development To
DM300018 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 2 Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: