When using a digital pin as input, one has the option of using the internal arduino resistor, which is connected to VCC; that is setting the digital pin as INPUT_PULLUP, and then the pin reads HIGH. Does this uses electricity?.
I mean the resistor is connected directly to VCC and I presume electricity is constantly flowing through the system, no?. as oppose to having the pin as just INPUT?
I presume electricity is constantly flowing through the system
- only if there is a load. With no load there is nowhere for it to flow, except as leakage current, as Ignacio Vazquez-Abrams said.