Searching \ for 'Proportional LCD character set' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Proportional LCD character set'.

Truncated match.
PICList Thread
'Proportional LCD character set'
1997\01\31@091726 by Frank A. Vostenbosch

Three of you have now requested my LCD character tables, so here it is.
You'll have to figure out for yourselves how to drive your particular
display (shouldn't be difficult).

The table is in three parts/pages, neccessary because of the PCLATH setup
needed.  On each page unused words are left empty, so that you can store
other routines there if needed.
Characters are stored on 6-instruction-boundaries, the first returns the
number of columns needed for the character (excluding one extra blank
column for character separation), the next return the actual column data.
Note that on my LCD display the MSB is at the bottom, so the exclamation mark
is 0x5f rather than 0xfa.

Note: this might work on a 16C57, but that would leave precious little space
for other subroutines (only 1k instructions are available for subroutine entry
points and tables).

No particular copyright on this code, although if you make a million bucks on
your project I'd like to hear about it :-)

Have fun,

; ----- Macros ----------------------------------------------------------


store           macro   b
               if ($-_next)!=1
                if b<0
                 org $+1
                 retlw b
               if b<0
                org $+1
                org _next
                goto 0
                retlw b

table           macro   a,b,c,d,e,f
               store   a
               store   b
               store   c
               store   d
               store   e
               store   f

; ----- Character set tables --------------------------------------------

               org     0x500
               table   4,0x30,0x4a,0x4d,0x38,-1    ; 22 delta
               table   4,0x3e,0x49,0x49,0x3e,-1    ; 23 theta
               table   5,0x46,0x28,0x10,0x20,0x40  ; 24 lambda
               table   5,0xfc,0x20,0x20,0x1c,0x20  ; 25 mu
               table   5,0x04,0x7c,0x04,0x7c,0x04  ; 26 pi
               table   5,0x63,0x55,0x49,0x41,0x63  ; 27 Sigma
               table   5,0x08,0x04,0x3c,0x44,0x24  ; 28 tau
               table   5,0x5e,0x61,0x01,0x61,0x5e  ; 29 Omega
               table   5,0x10,0x20,0x7f,0x01,0x01  ; 30 root
               table   3,0x1d,0x15,0x17,-1,-1      ; 31 sup2
               table   3,0x00,0x00,0x00,-1,-1      ; SPACE
               table   1,0x5f,-1,-1,-1,-1          ; !
               table   3,0x03,0x00,0x03,-1,-1      ; "
               table   5,0x14,0x7f,0x14,0x7f,0x14  ; #
               table   5,0x04,0x2a,0x7f,0x2a,0x10  ; $
               table   5,0x63,0x13,0x08,0x64,0x63

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...