Steve
I have 270 ohm resistors on the 4 PORTC pins.
Between the i/o and VCC?
EDIT:::: MIIP they have to be connected on PORTB, between i/o and VCC.
EDIT2:::: You could also try to use those internal...
Code:OPTION_REG.7=
Last edited by mister_e; - 12th June 2007 at 22:49.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Steve
I will try moving the resistors to PORTB. Thanks.
Please excuse my ignorance but I do not understand what you mean with:
You could also try to use those internal...
Code:
OPTION_REG.7=
Oups...
Add
At the top of your code, this should enable the internal Weak-pull-up on PORTB. Make sure you place this code line at least under the TRISB=xxxxxxxx line.. if there's anyCode:OPTION_REG.7=0![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Enjoy!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks