/**
* [url=home.php?mod=space&uid=247401]@brief[/url] LCD12864 display words.
* @param x: row(0~3) y: line(0~7) str: the pointer to words
* @retval None
*/
void LCD12864_Display_Words(u8 x, u8 y, u8 *str)
{
LCD12864_Write(WRITE_CMD, LCD12864_DDRAM_ADDR[x][y]);
while(*str)
{
LCD12864_Write(WRITE_DAT, *str);
str++;
}
}
我是这样用的 |