When connecting a led direct to pin 13 of the arduino (without resistor) a warnig is displayed that there's to high a current through the led.
But if i'm not mistaken, pin 13 has a builtin resistor, so this is not possible.
thanks
Date
Votes
1 comment
-
Tiffany Tseng Official comment The built-in resistor is not used by default. You can enable it by specifying the pinMode:
pinMode(2,INPUT_PULLUP);
You can reach more about the internal pull up here: https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/
Please sign in to leave a comment.