I have a Nano ESP32-S3 whose D12 pin is set to HIGH with digitalWrite(12, HIGH). I have created a circuit where the D12 pin connects to a 470-ohm resistor in series with a small green LED. The negative terminal of the LED is connected to the board's ground.
When powered, the resistor has 0.00 volts across it, while the LED has 3.25 volts across it. I have quadruple checked that the circuit is correct as I have described above. The LED is unlit.
Why is there no voltage across the resistor? Does this mean the current through the circuit is zero? How do I get the LED lit?