文件名称:CH451
介绍说明--下载内容均来自于网络,请自行研究使用
很强的ch4541汇编语言!CH451驱动数码管程序
//端口初始化
void port_init(void)
{
PORTA = 0x00
DDRA = 0x00
PORTB = 0x07
DDRB = 0x07
PORTC = 0x00
DDRC = 0x00
PORTD = 0x00
DDRD = 0x00
}
//主函数
void main(void)
{
port_init()
ch451_init()
ch451_write(CH451_RESET)
ch451_write(0x401)
ch451_write(0x580)
ch451_write(0x600)
ch451_write(CH451_DIG0|0x08)
while(1)
{
}
}-Strong ch4541 assembly language!
//端口初始化
void port_init(void)
{
PORTA = 0x00
DDRA = 0x00
PORTB = 0x07
DDRB = 0x07
PORTC = 0x00
DDRC = 0x00
PORTD = 0x00
DDRD = 0x00
}
//主函数
void main(void)
{
port_init()
ch451_init()
ch451_write(CH451_RESET)
ch451_write(0x401)
ch451_write(0x580)
ch451_write(0x600)
ch451_write(CH451_DIG0|0x08)
while(1)
{
}
}-Strong ch4541 assembly language!
相关搜索: ch451
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CH451.doc