ATmage16点阵与proteus仿真.docVIP

  • 6
  • 1
  • 约2.13千字
  • 约 5页
  • 2018-02-24 发布于河南
  • 举报
ATmage16点阵与proteus仿真

ATmage16 16X32点阵与proteus仿真 一:电路搭建 二:程序编写 1:主函数 #include delay.h #include iom16v.h #include macros.h #define st0 PORTD =~BIT(0) #define st1 PORTD |=BIT(0) #define ds0 PORTD =~BIT(1) #define ds1 PORTD |=BIT(1) #define sh0 PORTD =~BIT(2) #define sh1 PORTD |=BIT(2) unsigned char t,temp; unsigned char i; unsigned char tab1[]={0x0f,0x8f,0x4f,0xcf,0x2f,0xaf,0x6f,0xef,0x1f,0x9f,0x5f,0xdf,0x3f,0xbf,0x7f,0xff};//74HC154译码 unsigned char tab[]={ 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x11,0x10,0x11,0x08,0x11,0x04, 0x21,0x04,0x21,0x02,0x41,0x02,0x81,0x02,0x01,0x0

文档评论(0)

1亿VIP精品文档

相关文档