But my friend what about your current schematic. The 5161AS is a single digit seven segment LED display. So how do you wire up your circuit. A pencil drawing will do fine. But we badly need a schematic herepat no.5161AS
it is common anode
I also I suspect the 4 digit LED display used on the project. Is some sort of virtual component. Connecting a real LED display that way will never work in the real world. That is the problem with Proteus projects