Which one of these do you think is a better circuit to control/limit current to an LED? The 5V line with a 330 Ohm resistor on it, represents the arduino output pin. When I ran the circuit number 1 on a simulator, it did not work. I used Every Circuit on android. But circuits number 2 and 3 did work on the simulator.
Transistor in question is 2N2222. I put its data into the sim and still, circuit 1 did not work.