Hi Peterdeco1
>found this command here on the forum but would never have figured it out from the datasheet. My question is: where does the 7 come from? What is OPTION_REG 6? Or 5?, etc. How do you enable pullups only on certain pins? Again, I don't understand the correlation between the datasheet and the PBP command. Thank you. - Peter
see datasheet p19... Option Register BIT 7
7 is the Bit number to set.
Must be write :
OPTION_REG.7=0
regards
Last edited by mister_e; - 8th November 2004 at 11:03.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks