Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Look at Page 18 of the datasheet. Also see Page 57. The OPTION_REG register, bit-7 RBPU enables the PortB pullups when cleared.I'm using port B, so I can use a weak pull up, how do I do that?
Each of the PORTB pins has a weak internal pull-up. A
single control bit can turn on all the pull-ups. This is
performed by clearing bit RBPU (OPTION_REG<7>).
The weak pull-up is automatically turned off when the
port pin is configured as an output. The pull-ups are
disabled on a Power-on Reset.