table of bitpattern for 16 segment-display
StefanL38
Posts: 2,292
Hello,
I googled now for one hour for a table showing the mapping how the alphanumeric characterset 0-9, A-Z
is mapped into the bitpattern to turn on the right segments of 16-segment displays.
I mean a table
Row: alphanumeric character and in columms which of the segments A1, A2, B, C, D1, D2, E, F, G1, G2, H, I , J, K, L, M are switched on
another five hours on searching will be the same as creating it myself
does somebody know a link to a website or datasheet for this ?
did somebody wrote some propellercode about this and would share this code?
best regards
Stefan
I googled now for one hour for a table showing the mapping how the alphanumeric characterset 0-9, A-Z
is mapped into the bitpattern to turn on the right segments of 16-segment displays.
I mean a table
Row: alphanumeric character and in columms which of the segments A1, A2, B, C, D1, D2, E, F, G1, G2, H, I , J, K, L, M are switched on
A1, A2, B_, C_, D1, D2, E_, F_, G1, G2, H_, I_, J_, K_, L_, M_ 0: 1 1 1 1 1 1 1 1 0 0 0 0 1 0 0 1 1:... 2:... ... A:... Z:....
another five hours on searching will be the same as creating it myself
does somebody know a link to a website or datasheet for this ?
did somebody wrote some propellercode about this and would share this code?
best regards
Stefan
Comments
http://www.maxim-ic.com/appnotes.cfm/an_pk/3212
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
this one has a high-resulution picture for the characters
datasheets.maxim-ic.com/en/ds/MAX6955.pdf
But it's a little bit difficult to recognize the characters in the table.
In all these datasheets it is NOT nescessary to show a table of what I'm searching for
as these details are done INSIDE the chip.
I could use a chip as the Max6955. But I want to build up the logic myself with three 74HC595 shiftregisters
best regards
Stefan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
thank you very much for sharing your code !
Great piece of code and well documented
As far as I have studied the code
Init does the setup for the Pin-assignments meaning which IO-pins are connected to the different anodes of element A1, A2, B, ....
which IO-Pins are connected to choose the digit 1-6 in the display
and starts up the updateroutine in a new cog
str sets new content to the buffervariable bytearray with 20 elements named "data"
Update switches ON/OFF the IO-Pins for the characters in the buffer data by using the
bitpattern stored in the datsection selsegments
The lookup is done by using ASCII-code of character to display - ASCII-code of character "!"
as index. Because the bitpatterns are stored in the order of the ASCII-Codes
So in a mainfile first thing to do is call Init once
and then use method str for displaying strings. Parameter of the method str is a stringpointer as usual in FullDuplexSerial etc.
If they are longer than 6 characters the text is automatically scrolled thtough the display
Thank you very much.
best regards
Stefan
Post Edited (StefanL38) : 10/14/2008 12:24:27 AM GMT
if you have only 8 IO-ports left free. You have to do multiplexing not only from digit to digit but also inside one digit. or you have to use shiftregisters to expand the number of IO-pins.
best regards
Stefan