You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Which board are you using? It depends a bit on the chip you have on it.

    However one thing you can pretty much always do is pinMode(pin,"input_pullup")which turns on an internal ~40k pullup resistor, so will light the LED very dimly. You'll need to use "output" to use the LED for anything else though.

About

Avatar for Gordon @Gordon started