Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4787

Display LCD custom character

$
0
0
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

Viewing all articles
Browse latest Browse all 4787

Trending Articles