Main Site Documentation

Pin's with internal pull up resistors


#1

Hello, I am moving on to installing some buttons on my project and wanted to know which pins had the capability to have internal pull up resistors and which did not. This code is given in the ebook for creating a interrupt for a button on a digital pin.

InterruptPort IntButton =
new InterruptPort((Cpu.Pin)FEZ_Pin.Interrupt.LDR, true,
Port.ResistorMode.PullUp,
Port.InterruptMode.InterruptEdgeBoth);

And I noticed that the pin out diagram for the domino says that “* Di2 and Di3 are open drain pins with 2.2K pull up resistors.” I am not sure if all of the pins can have their internal pull up resistors activated or just these two? My team mate took the domino so I can’t simply test it right now.

regards,
Aaron


#2

All pins have internal pull up and pull down that you can use.