Configured Arduino internal pull-up resistor and added verbose logs