數(shù)碼管動(dòng)態(tài)顯示1——7,循環(huán)右移
* 功
* 芯片:Amega16L *
* 時(shí)鐘頻率:內(nèi)部4M *
* 編譯環(huán)境:ICC-AVR7 *
#include
#include
#define uint unsigned int
#define uchar unsigned char
#define on_138
#define off_138 PORTC&=~BIT(PC7)
#pragma data:code
uchar
uchar
void delay(uint ms)
{
}
void display(uint i, uint j)
{
}
void main()
{
}
評論