//uart.h/**********串口端口定义**********/ #define RxD PD0 #define TxD PD1#define baudrate 9600 //波特率 #define F_CPU 8000000UL //定义晶振频率void uart_init(void) { /*****RS232口线设置*****/
/*12864中文字库测试程*/#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