> > As Matty hinted, each bit drives one of the segments. If you turn the numbers into > > hex or binary and compare with a drawing of a 7-segment display that becomes much > > more clear. > > > > If you want to identify the number, you pretty much have to just compare against an > > array of the possible values for the 10 possible digits that can be displayed. > > I know that the bits are the actual segments, I just wondered if there was an easier > way of converting the bits back into a decimal number, but like you both say a lookup > table would pretty much be the only way. > > Thanks
1) Use your calculator in Windows, Programmer Mode (alt-3). 2) Assure you have "Dec" radio button selected. 3) Type in your integer for the appropriate number on LCD 4) Select "Bin" radio button, you'll get 0 and 1 output. 5) Match that output to the segments 6) Repeat at 2 until done
It's best to start with numbers which have less segments used (start with 1 (2 segs), 7 (3 segs). The rest is a process of elimination.
This picture might help too
|