#include "systemInit.h"
#define uchar unsigned char
#define uint unsigned int
#define lcd_port GPIO_PORTA_BASE //LCD¹¤×÷ģʽÉèÖÿÚ
#define lcd_data GPIO_PORTC_BASE //Êý¾Ý¿Ú
#define lcd_rs GPIO_PIN_5
#define lcd_rw GPIO_PIN_4
#define lcd_en GPIO_PIN_3
void delay(uint xms)
{
uint i,j;
for(j=0;i