I had a thought and used this code:
IF footsw = 0 THEN LOW portb.5
IF footsw =1 THEN poo
I figgured that since portb.5 was changed to an output, it could not generate an interupt; but the clock does not run so nothing happens.
I think I will take a break and go do something physical.
Bookmarks