//set the page address and column address of LCD
void lcd_address(char page,char column)
{
cs1=0;
column=column-1; //Because column address is from 0 to 127,so column=column-1
page=page-1;
transfer_command(0xb0+page); //set page address,LCD panel is divided to 8 pages,1 page is include 8 lines.
transfer_command(((column>>4)&0x0f)+0x10); //set the upper 4 bits of column address
transfer_command(column&0x0f); //set the lower 4 bits of column address
}