PDA

View Full Version : Display LCD custom character



tacbanon
- 9th September 2012, 15:36
I have 20x4 LCD, I'm using DT's Custom character generator to produce the following


'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

tacbanon
- 9th September 2012, 16:48
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...:(

xapmanis
- 14th January 2013, 19:46
I will aggree with you Tachbanon. You can create only up to 8 Characters it is inside the datasheet

Dave
- 14th January 2013, 22:23
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.

spcw1234
- 15th January 2013, 13:21
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.

wdmagic
- 20th March 2013, 09:18
Wrong thread

jonnblaze
- 5th August 2013, 10:45
You can create only up to 8 Characters it is inside the datasheet