I am using Arduino Uno.
I was under the impression that pins set as input with a pull-up resistor were drawing a neglegible amount of current.
However, it seems untrue from my test.
My circuit (including Arduino) draws around 30mA constantly.
However, once I just add these lines to my sketch and without changing anything on the hardware front, the consumption goes up to 80 mA:
I'm measuring current using a digital multimeter (actually two, to compare the readings).
I am really confused and worried that that will make batteries last much less.
Any comment or pointer would be great.