igobyjoey:
simply what i am trying to do here is, with a button a led on 12 will turn on, and vice versa... the problem is every time i upload my program into the arduino the led turns on by itself before i even press the button... what am i doing wrong!?
How have you connected your LED? Are you using a pull-down resistor?