//uart.h/**********串口端口定義**********/ #define RxD PD0 #define TxD PD1#define baudrate 9600 //波特率 #define F_CPU 8000000UL //定義晶振頻率void uart_init(void) { /*****RS232口線設(shè)置*****/
/*12864中文字庫(kù)測(cè)試程*/#include #include #include #include unsigned char code IC_DAT[];unsigned char code pic1[];unsigned char code pic2[];unsigned char code pic3[];sbit CS =P0^0;sbit SID=P0^1;sbit SC