當(dāng)前位置:首頁(yè) > 單片機(jī) > 單片機(jī)
[導(dǎo)讀]/****** 單片機(jī)接收電腦串口發(fā)出的指令并執(zhí)行相應(yīng)動(dòng)作。同時(shí),也接收無(wú)線遙控發(fā)出的信號(hào),并執(zhí)行動(dòng)作**************/ #include <REG51.H> #define uchar unsigned char #define uint unsigned int uchar code S

/****** 單片機(jī)接收電腦串口發(fā)出的指令并執(zhí)行相應(yīng)動(dòng)作。同時(shí),也接收無(wú)線遙控發(fā)出的信號(hào),并執(zhí)行動(dòng)作**************/
#include <REG51.H>
#define uchar unsigned char
#define uint unsigned int
uchar code SEG7[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};//數(shù)碼管編碼,預(yù)留    
uchar code ACT[4]={0xfe,0xfd,0xfb,0xf7};//數(shù)碼管顯示相關(guān),預(yù)留
/*************************************************************/
uchar code as[]=" shoudao zhiling :