The attached circuit diagram and hex file I received from my friend. It works well with the Proteus. But when practically created, it does not work. Anyone can guess what is the reason for it. I have only the circuit and the hex file.
I can't comment on the hex file but the schematic may have some problems.
There are no resistors to limit the current to the LEDs.
Three LEDs are fed per NPN transistor so the one with the lowest Vf will light and the other two may not.
Each port pin has to sink the LED current - can the ports handle a total of 24*LED current?