Basic Understanding of Digital Output Pins using Ohm's law