Hello all,
I have to ask because I have NEVER seen it done any other way. But is it not just plain good design practice to current limit with series resistors and pull up or down ALL digital I/O's?
And as far as driving your 220AC device. You should ALWAYS use some sort of isolation device to protect your DC circuits AND the poor person that is trying to use them!
But back to the thread....
Tell me if I am missing something here and if this would work at all:
if doing a keypad scan could you not use portb 0-2 and portb 3-7 for a 3x4 keypad. then use a look up table to get the actual key pressed? If you could do this it would be easy to add "secret" key combinations to do special functions in the project.
I am just getting started here and learning lots by reading. I have spent quite some time looking over the Keypad code posted here and its VERY complex more so then I would have thought. am I missing something here?
(I am not saying anything bad about the code. I could just be ignorant to what it takes to actually do this. So please don't be insulted.)
Also, I see no accomidation in the keypad for compairing the input from the keypad to stored values for say "pin access" or the such. Or is this code ment to be only the keyscan?
Just asking?
;Smart A** Programing Joke starts here
cls
Print "Best Regards,"
Print "Bill12780"
end
Bookmarks