patricktran
New Member
Hi ,
Ive read somewhere about how to output data from a MCU to LCD or 7 seg display as follow:
The data from MCU normally is in hex, we convert it into BCD (so that each digit is represented as 4 binary), and this BCD is used to index off the look up table to LCD or 7 seg.
The table is like follow: (Blank, 0-9)
TABLE FCB $7E, $30, $6D, $79, $33, $5B, $5F, $70, $7F, $73, $00
END
How these hex number can be used to display in LCD? I ve checked the ASCII table, cant find anyone of them fits.
Also, is the table for LCD and 7 seg different?
How we can move along the table? Is table recommended?
Thanks
Ive read somewhere about how to output data from a MCU to LCD or 7 seg display as follow:
The data from MCU normally is in hex, we convert it into BCD (so that each digit is represented as 4 binary), and this BCD is used to index off the look up table to LCD or 7 seg.
The table is like follow: (Blank, 0-9)
TABLE FCB $7E, $30, $6D, $79, $33, $5B, $5F, $70, $7F, $73, $00
END
How these hex number can be used to display in LCD? I ve checked the ASCII table, cant find anyone of them fits.
Also, is the table for LCD and 7 seg different?
How we can move along the table? Is table recommended?
Thanks