CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - h.3
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - h.3 - List
[
e-language
]
ZY12864D
DL : 0
1.文件名:LCM_DRIVE.C 2.功能:图形液晶TG12864B-2驱动程序。 3.说明:在LCM_DRIVE.H文件中定义了LCM操作地址,左半屏的写命令操作地址为2004H,写 4.数据操作地址为2005H,右半屏的写命令操作地址为2000H,写数据操作地址为2001H; 5.由于GRAPHICS.C中使用了disp_buf作为作图缓冲区,所以LCM_WriteByte()、LCM_ 6.DispFill()均要更新disp_buf。-1File name: LCM_DRIVE.C 2 Function: Graphic the LCD TG12864B-2 driver. 3Note: LCM operating address LCM_DRIVE.H file defines the operating address of the left screen write command for the 2004H, write 4Data manipulation address is 2005H, the right half of the screen write command operation address 2000H, the write data operation address 2001H 5Because GRAPHICS.C use the disp_buf of mapping buffer, so LCM_WriteByte (), LCM_ 6 DispFill () To update disp_buf.
Date
: 2025-12-16
Size
: 33kb
User
:
ab1098
[
e-language
]
TOP-1500
DL : 0
控制程序#include <MEGA8.h> #include TWI.H #define uchar unsigned char #define uint unsigned int #define M62429VolClk PORTC.2 #define M62429Data PORTC.3 #define bp PORTC.1 #define up PORTB.0 #define down PORTD.7 #define power PORTD.6 #define ir_out PORTB.7 //#define ir_in PIND.2 //ir_in #define SWIN PIND.3 //IO to LED-control program#include <MEGA8.h> #include TWI.H #define uchar unsigned char #define uint unsigned int #define M62429VolClk PORTC.2 #define M62429Data PORTC.3 #define bp PORTC.1 #define up PORTB.0 #define down PORTD.7 #define power PORTD.6 #define ir_out PORTB.7 //#define ir_in PIND.2 //ir_in #define SWIN PIND.3 //IO to LED
Date
: 2025-12-16
Size
: 6kb
User
:
易生
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.