I've read in other places that it can cause damage to the LED if you don't use a resistor.
And you will read about it everywhere here. Damage to the LED
and/ or the Arduino. And you do not necessarily
know straight away. The LED may appear to work but slowly die, and the Arduino may do the same on the pin you were using. How's that for a plan?
I'm now trying to do a project where you push a button to get the LED to light up (using resistors) but that's not working.
Well, when and
if you gives us the details (hint - read all
the instructions for how to do so) someone just
might be able to figure out why. If there is enough information to do so.