I've got this traffic light thing happening using a Node MCU and three LEDs.
Specifically, I'm using three digital GPIO pins, each hooked up to a resistor, and then an LED, and then to ground.
Here are the specs on the LEDs from the bag they came in:
I'm wondering what kind of resistor(s) I need to do this efficiently/properly. Maybe I can use that Ohm's Law thing somehow?
I currently have them wired up using 330Ω resistors that I found in another bag. No idea if that's cool, but nothing has exploded, so maybe it is?
Bonus question, does it affect anything to have fewer or more LEDs hooked up like this. Like if I had the same setup with eight LEDs, is it any different (resistor-wise) than if I use the three I currently have hooked up?
Bonus bonus question - is it dumb to solder resistors right onto jumper cables or should I really be using something like a perf board?
Thanks in advance, I have no idea what I'm doing
-Sam