enable internal pull-ups. TODO: better use external resistors