哪位大哥帮我写一个义隆EM78P458单片机的流水灯程序,本人不会写,只会烧录,花样越多越好,有注释更好!

[复制链接]
查看11 | 回复1 | 2013-1-21 23:24:51 | 显示全部楼层 |阅读模式
#include"em78p458.h"typedef unsigned int uint;typedef unsigned char uchar;unsigned char i@0x20:bank 0;ucharCODE[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};void delay(uint x){uchar j;while(x--)for(j=0;j<120;j++);}void main(){// i=0xfe; P6CR=0x00;
while(1) {
for(i=0;i<8;i++)...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行