Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/23/03 19:20
Read: times


 
#37017 - RE: 87LPC764 and LCD display help
Remember that the HD44780 has memory way past the first 16 or 20 chars you are writing to.

use this gotoXY routine to specify the next line

#define line_two 0x40 // address for the second line


void lcd_gotoxy(U8 x,U8 y) {
U8 lcdaddress;

if(y!=1)
lcdaddress=line_two;
else
lcdaddress=0;
lcdaddress+=x-1;
lcd_send_byte(0,0x80|lcdaddress);

}

List of 21 messages in thread
TopicAuthorDate
87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      
RE: 87LPC764 and LCD display help            01/01/70 00:00      

Back to Subject List