I would suggest Interrupts on Port B, bit 0. It has Interrupt on edge either high or low, and you control this by bit 6 in Option_Reg.
I'll try a test code to show you how.
Do you have a PIC prefference?
Ioannis
I would suggest Interrupts on Port B, bit 0. It has Interrupt on edge either high or low, and you control this by bit 6 in Option_Reg.
I'll try a test code to show you how.
Do you have a PIC prefference?
Ioannis
Bookmarks