The resistors should be there to protect the Arduino. They prevent the LEDs from drawing too much current. You can damage the output pins without them.
The resistors should be there to protect the Arduino. They prevent the LEDs from drawing too much current. You can damage the output pins without them.