Main Site Documentation

System.ArgumentException when trying to use breakout module



I have a Terminal block breakout module and I am having some trouble setting up which ports on the terminal blocks.
Every time I try it throws a “System.ArgumentException” around this line of code.

This is what I am using to set them up.

Any help would be greatly appreciated!


What kind of a socket are you using?


I am using a Fez Hydra on Socket 4


FEZ Hydra does not have pull down resistors. Only pull up will work.


If the project that you are making requires pull-down resistors, you could add an external resistor to the pin that requires it and set the resistor mode to none.