I am learning 8051. I know the theory behind 7 segment display multiplexing but do not know how to code in C. Please give me code for 4 x 7 segment display multiplexing. I am using 89S51 and will use P0 and P1 for display. And my display are common cathode (CC). Please do the need full.
i will use discrete transistors the day, the hell is frozen ;-)
For my display driver, I use vacuum tubes.
This has the beneficial side effect of making the 8051 seem very modern and advanced by contrast.
... and also warms the room on a chill winter's evening...
This has the beneficial side effect ...
Another benefit is that no current is required to drive the grid, just voltage.
Erik
"Another benefit is that no current is required to drive the grid..."
Just as well - cos all the current is being used up in the heater supply!
(6.3VAC, of course...)
No, I make portable equipment, so I use 6.3V DC