Simple dynamic LED display drive
I have got a simple 4 digit LED display routine. This is simulated using the Proteus simulator. So in the picture, you see a simplified version of the circuit. In the real world, you might need to strobe digits using transistor keys. The control program is written using the WinAVR toolchain. Bellow is a complete C file