I got an Arduino for my birthday earlier this week and so I am very new to using it.
I was doing one of the projects and forgot to use the pinMode command to set the pins for output. They were powering LEDs. When I ran the sketch the LEDs glowed very dimly. After making a number of changes to see if I selected the wrong resistor I eventually realised my mistake.
Can anyone explain what was happening as a result of not specifying the pins?