Well, I misunderstood what I was supposed to do but when I removed the resistors and put in the TRIS statements it took 9 seconds again. So I set the port pins to 0, same thing, I set them to 1, same thing.
It works properly with just the 4K7 resistors.
EDIT: I tried pulling both pins down and that works as well.
Robert
![]()




Bookmarks