0

As the title implies. thank you in advance.

  • 1
    All of them have. – Gerben Jan 7 at 15:45
  • which pins are you referring to? – jsotola Jan 7 at 16:11
  • all Digital I/O pins 0 to 13 and A0 to A5. – Abd-AlRahman Muhammad Jan 7 at 16:12
  • just wanted to be sure – jsotola Jan 7 at 16:25
  • 1
    Note that you need to initialize the pins as INPUT_PULLUP to actually enable the pullup resistor. (Just in case this isn't clear.) – orithena Jan 9 at 11:25
2

All of them. It's a standard feature on all IO pins in the AVR range.

| improve this answer | |
  • Thank you very much :) This is NOT the case in other Microcontrollers am I right? – Abd-AlRahman Muhammad Jan 7 at 15:50
  • 1
    Not all microcontrollers have them, that is true (low-end PIC for example). Some only have them on some pins (such as older PIC32MX chips). They are getting more and more popular though (now all modern PIC32MX chips and PIC32MZ chips have them), so more modern chips tend to have them rather than not. – Majenko Jan 7 at 15:52
  • That's a great answer, thank you very much again :) – Abd-AlRahman Muhammad Jan 7 at 15:55
  • Also some MCUs (such as STM32) have also pull down resistors. – Michel Keijzers Jan 7 at 16:18
  • 1
    @MichelKeijzers So do modern PIC32 chips (anything since the release of the MX1 / MX2 series). – Majenko Jan 7 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.