Don't use pins 0 & 1 there are fore the serial port.
All the pins you do use must be declaired as outputs in setup using pinMode
Use resistors with each LED.
Don't use pins 0 & 1 there are fore the serial port.
All the pins you do use must be declaired as outputs in setup using pinMode
Use resistors with each LED.