Hydra extender Interrupt problem

I am running a Hydra and am having problems using an extender to raise an interrupt.

This code produces an error and I have tried all the available ports.

extender.SetupDigitalInput(GT.Socket.Pin.Three, GTI.GlitchFilterMode.Off, GTI.ResistorMode.PullDown);
GTI.InterruptInput geiger = extender.SetupInterruptInput(GT.Socket.Pin.Three, GTI.GlitchFilterMode.Off, GTI.ResistorMode.PullDown, GTI.InterruptMode.RisingEdge);
geiger.Interrupt += new GTI.InterruptInput.InterruptEventHandler(geiger_Interrupt);

The error I see is:

Using mainboard GHI Electronics FEZHydra version 1.2
#### Exception System.ArgumentException - 0xfd000000 (1) ####
#### Message:
#### Microsoft.SPOT.Hardware.Port::.ctor [IP: 0000] ####
#### Microsoft.SPOT.Hardware.InputPort::.ctor [IP: 0008] ####
#### Gadgeteer.Interfaces.DigitalInput::.ctor [IP: 0015] ####
#### Gadgeteer.Modules.GHIElectronics.Extender::SetupDigitalInput [IP: 000b] ####
#### Geiger_Hydra.Program::ProgramStarted [IP: 000b] ####
#### Geiger_Hydra.Program::Main [IP: 0015] ####
A first chance exception of type ‘System.ArgumentException’ occurred in Microsoft.SPOT.Hardware.dll
An unhandled exception of type ‘System.ArgumentException’ occurred in Microsoft.SPOT.Hardware.dll

Being new at this I’m certain I have messed something up.

Any help would be appreciated.

There is no pull down on hydra’s processor. Use pull up or none please.

Welcome to the community.

If you actually need a pulldown resistor, then use None in your code, and wire up a resistor externally.

Thanks Gus and godefroi,

Your suggestions solved my problem.

Thanks!

You’re certainly welcome!