Easy Question (for you pro's): I want to read a non-interrupt driven port on a PIC16C74 and detect a rising or falling edge. Any ideas on the best way to implement this? I'm quite the rookie here -this is my first design. Reasoning tells me to : Read the port Store it's value Read it again Compare the values If the values are different - i've detected the edge change. Does this make sense? How could I implement this in C? Thanks -