點(diǎn)陣流水顯示I_LOVE_YOU
* 功
* 時(shí)鐘頻率:內(nèi)部4M *
* 編譯環(huán)境:ICC-AVR7.22 *
* 版本:1.0 *
#include
#include
#define uint unsigned int
#define uchar unsigned char
#define OE_138_ON PORTC |= (1<
#define OE_138_OFF PORTC &= ~(1<
const uchar I_LOVE_YOU[]={0X00,0X44,0X44,0X7C,0X44,0X44,0X00,0X00,
const uchar seg[]={0,1,2,3,4,5,6,7};
uchar buffer[]={0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00};
void main(void)
{
}
uchar count=0;
uchar j=0;
#pragma interrupt_handler time0:20 time1:7
void time0(void)
{
}
void time1(void)
{
}
評(píng)論