On a LED which leg is longer - positive or negative?

L.E.D has one leg longer then the other one, the longer one is positive and the smaller one is negative. If you have a l.e.d which has same length of legs then look inside the l.e.d for two kind of triangle peices and one of them will be smaller which is positive and one which is bigger and is negative.