I don't want to have PAUSE in my program,and I'd like to avoid using an interrupt for this if at all possible.
18F44K22 @ 64MHz, Port D has ST inputs.
Using this schematic from Mr. E's keypad thread:
Along with this debounce schematic from http://robotgestation.com/SensorForce.html :
I came up with this for my application:
I always used to have input pins pulled LOW, first time scanning them using HIGH as default.
Anything stand out as a magic show waiting to happen?
Robert
Bookmarks