参数资料
型号: TDGL005
厂商: Microchip Technology
文件页数: 9/15页
文件大小: 0K
描述: BOARD BASIC I/O SHIELD CHIPKIT
设计资源: ChipKIT Basic I/O Shield Schematics
标准包装: 1
主要目的: 接口,I/O 屏蔽
嵌入式:
主要属性: 4 个开关,4 个按钮,8 个 LED,OLED 显示器
已供物品:
chipKIT Basic I/O Shield Reference Manual
Appendix B: Example Driver Code
The following gives an example of code to initialize the display controller and write the contents of a
memory buffer into the display. This example is written for the chipKIT Uno32 board.
Symbol and Variable Declarations
/* ------------------------------------------------------------ */
/* Pin definitions for access to OLED control signals on chipKIT Uno32
*/
#define
#define
#define
#define
#define
#define
#define
#define
prtVddCtrl
prtVbatCtrl
prtDataCmd
prtReset
bitVddCtrl
bitVbatCtrl
bitDataCmd
bitReset
IOPORT_F
IOPORT_F
IOPORT_F
IOPORT_G
BIT_6
BIT_5
BIT_4
BIT_9
/* ------------------------------------------------------------ */
/* Symbols describing the geometry of the display.
#define
#define
#define
#define
cbOledDispMax
ccolOledMax
crowOledMax
cpagOledMax
512
128
32
4
//max number of bytes in display buffer
//number of display columns
//number of display rows
//number of display memory pages
/* ------------------------------------------------------------ */
/* This array is the off-screen frame buffer used for rendering.
** It isn't possible to read back from the OLED display device,
** so display data is rendered into this off-screen buffer and then
** copied to the display.
*/
BYTE rgbOledBmp[cbOledDispMax];
www.digilentinc.com
page 9 of 15
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
相关PDF资料
PDF描述
TDGL007 BOARD MOTOR CTRL DSPIC337128MC
TEACL-PIC-DB ADAPTER DEBUG TEACLIPPER/PICICD2
TEACL-STAMP-DB ADAPTER DEBUG TEACLIPPER/STAMP
TEH-9P CONN DB9 PLUG IDC PLASTIC
TEH-9S CONN DB9 SOCKET IDC PLASTIC
相关代理商/技术参数
参数描述
TDGL006 功能描述:界面开发工具 chipKIT Network Shield RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
TDGL007 功能描述:开发板和工具包 - PIC / DSPIC DIGILENT CEREBOT MC7 MOTOR CONTROL BRD RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
TDGL008 功能描述:开发板和工具包 - PIC / DSPIC Digilent Cerebot MX3ck Dev Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
TDGL009 功能描述:开发板和工具包 - PIC / DSPIC Digilent Cerebot MX4cK Dev Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
TDGL010 功能描述:开发板和工具包 - 其他处理器 Digilent Cerebot MX7cK Dev Brd RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压: