//寫所有數據
void Write_All_data_1621(unsigned char *p)
{
unsigned char i;
unsigned char temp_data;
LCD_CS_L();
delay_us(5);
Write_ID(0xA0,3);//write 101
Write_ID(0x00,6);//address from 0x00
for(i=0;i<48;i++)
{
temp_data = p++; //原文為temp_data=p; 請樓主賜教????
Write_data_bit(temp_data,4);
}
LCD_CS_H();
} |