Display LCD custom character
I have 20x4 LCD, I'm using DT's Custom character generator to produce the following
Code:
'Mobot v1
LCDOUT $FE,$40,$1F,$15,$11,$11,$15,$15,$15,$1F ' Cust Char #0
LCDOUT $FE,$48,$1F,$1F,$1F,$11,$15,$15,$11,$1F ' Cust Char #1
LCDOUT $FE,$50,$1F,$17,$17,$11,$15,$15,$11,$1F ' Cust Char #2
LCDOUT $FE,$58,$1F,$1F,$1F,$11,$15,$15,$11,$1F ' Cust Char #3
LCDOUT $FE,$60,$1F,$1B,$1B,$11,$1B,$1B,$19,$1F ' Cust Char #4
LCDOUT $FE,$68,$1F,$1F,$1F,$1F,$1F,$1F,$1F,$1F ' Cust Char #5
LCDOUT $FE,$70,$1F,$1F,$1F,$15,$15,$15,$1B,$1F ' Cust Char #6
LCDOUT $FE,$78,$1F,$13,$1B,$1B,$1B,$1B,$11,$1F ' Cust Char #7
' Text
LCDOUT $FE,$40,$1F,$11,$1B,$1B,$1B,$1B,$1F,$1F ' Cust Char #0
LCDOUT $FE,$48,$1F,$11,$15,$11,$17,$11,$1F,$1F ' Cust Char #1
LCDOUT $FE,$50,$1F,$15,$11,$1B,$11,$15,$1F,$1F ' Cust Char #2
LCDOUT $FE,$58,$1F,$11,$1B,$1B,$1B,$1B,$1F,$1F ' Cust Char #3
LCDOUT $FE,$60,$1F,$13,$11,$18,$18,$11,$13,$1F ' Cust Char #4
I could display the first set of characters with no problem(LCDOUT $fe,$80,0,1,2,3,4,5,6,7 "Mobot v1"), but I'm having trouble displaying the second set of character('Text') on the same line after 'Mobot v1'. I hope anybody can help how it is done.
I appreciate any help...
Regards,
tacbanon
Re: Display LCD custom character
hmm..so far I think there is no way to do it...as I understood from another thread that LCD can only hold 8 character locations...:(
Re: Display LCD custom character
I will aggree with you Tachbanon. You can create only up to 8 Characters it is inside the datasheet
Re: Display LCD custom character
One way to do it is to load each character sequence then output it to the LCD then,re-load the same character location and then output it to the LCD.
Re: Display LCD custom character
Quote:
Originally Posted by
Dave
One way to do it is to load each character sequence then output it to the LCD then,re-load the same character location and then output it to the LCD.
Have you ever tried this? I have and it always changed the origional character also or just gave me garbage. Some displays may work.
Re: Display LCD custom character
Re: Display LCD custom character
You can create only up to 8 Characters it is inside the datasheet