Hello Melanie & Everyone. For the first time I enabled weak pullups on a 16F818 by using OPTION_REG 7 = 0. I 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




Bookmarks