HI All
Is there a quick way to step sequentially through all the I/O Lines of the 4 ports in the AT89???? microcontroller
Currently I'm doing it in 4 seperate steps in Assembly language, but my gut feel tells me it can be done in one subroutine
Port1 : CPL P0.1 .. CPL P0.7 .. Port2: CPL P1.1 .. .. CPL P1.7 ... and so on .
I need to test that all ports are working everytime I reset my circuit, and all 32 ports are fed through AND gates to give me either a '1' or '0' should any port of the microcontroler maybe goes faulty
Thank you in advance