??? 03/04/08 05:22 Modified: 03/04/08 05:23 Read: times |
#151848 - table lookup, multiplexing Responding to: ???'s previous message |
Ben Antonio said:
Sorry, but I had some info on the PIC16F631 in front of me! I have it on the brain. How can this be done with an 8051? If you're referring to the generation of the 7-segment bit patterns to the display, there are 10 7-segment patterns. Each one corresponds with a BCD value. if you have them in a properly ordered table in code memory, and use the BCD value you wish to display as a pointer into the table, perhaps using the MOVC A,@A+DPTR instruction, it should return the appropriate value in A, which then can be written to a port. How you multiplex the display will depend largely on the specifics of the device you use. RE |
Topic | Author | Date |
Basic Microcontroller Timer | 01/01/70 00:00 | |
Very Posible | 01/01/70 00:00 | |
Basic timer | 01/01/70 00:00 | |
Basic timer | 01/01/70 00:00 | |
Basi Timer | 01/01/70 00:00 | |
I would discourage using a watch battery ... | 01/01/70 00:00 | |
Basic Timer | 01/01/70 00:00 | |
step by step, first steps | 01/01/70 00:00 | |
good advice, wrong address | 01/01/70 00:00 | |
There are 7-segment LCD's | 01/01/70 00:00 | |
no surprise, just a memory jolt | 01/01/70 00:00 | |
Basic Timer | 01/01/70 00:00 | |
PIC | 01/01/70 00:00 | |
Sorry! | 01/01/70 00:00 | |
table lookup, multiplexing | 01/01/70 00:00 | |
The principles remain the same![]() | 01/01/70 00:00 | |
You need to learn about specifications | 01/01/70 00:00 | |
Did Ben ever say what power? | 01/01/70 00:00 | |
No, but | 01/01/70 00:00 | |
? | 01/01/70 00:00 | |
Timewarp! | 01/01/70 00:00 | |
No to point to the competition | 01/01/70 00:00 |