Fix battery monitor

used_pins[] were being put in OUTPUT mode, rather then the opposite.