30 pin 4 digit display

in the alarm clock I ripped it out of , it went straight from this display to microcontroller.

Chuck it up, our leds-have-to-have-resistors god/godess, :slight_smile:

There must be a way to simplify your code: it is too complicated. If you think about it, you are essentially driving "two digits". So there must be ways to arrange the pins so that there is some consistency between those digits.