7 segment display

Seven segment displays provide an inexpensive display of the 10 decimel digits(0,1,2,3,4,5,6,7,8,9). The seven segments are usually numbered as

---2---
| |
3 4
| |
---1---
| |
5 6
| |
---0---


Answer:

Use lookup tables with bit pattern for each digit, for ex: this techinque is used in counting the number of bits set, reversing the bits of a number.

No comments: