:DD eine LED muss immer mit Vorwiderstand betrieben werden.
Manche haben den Vorwiderstand schon fix verbaut.
Der kürzere Anschlsus ist die Kathode und muss an Minus liegen!
Der Vorwiderstand muss so groß sein das du auf ca, 20mA strom kommst.
Eine rote LED braucht ca. 2,6V
eine blaue ca. 3-3,3V
mfg