16F628 PortA pin connections - wierd
I can't figure this out - if I pull a PORTA pin low via a 10k and have the program look for a button push (+5v), everything works fine. However, if I try to pull it high with the 10k and have the program look for a button push thats 0v, it will not work. Strangely enough, though, if the pin is hooked directly to 5v (not through a resistor) and a 0v pulse is applied THROUGH a 10k resistor to the pin, it reads it. Is there a way to correct this? I've tried using a PORTA_pullup in the program but evidently you can't do that with this chip?
Re: 16F628 PortA pin connections - wierd
Quote:
Originally Posted by
Melanie
......Gee, I wish I got $1 for every time disabling Comparators, ADC's and reading the Datasheet came up in conversation...
I think, you would be a millionaire!
I read a lot in this forum and I find very much smart answers, especially yours.
Thanks!