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![]()
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.
Bookmarks