#include
#define uchar unsigned char
#define uint unsigned int
void Delayus(uint US);
void Delayms(uint MS);
uchar led_discode[11]={0xc0,0xf9,0xa4,0xb0,0x99,
void main (viod)
{
DDRA=0XFF;
PORTA=0XFF;
DDRC=0XFF;
PORTC=0X00;
DDRF|=0X0E;
PORTF|=0X0E;
PORTF&=0xF7;
DDRB |=0X10;
PORTB|=0X10;
PORTA=0X00;
while(1)
{
temp<<=1;
Delayms(500);
}
}
void Delayms(uint MS)
{
}
声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/yingyong/5g/262319.html