Hi,
I’m using an Embedded Masters Developmentboard with lastest firmware for EMX(MF4) and VS 2010.
Cpu.Pin _pinChangerRequest = EMX.Pin.IO28;
InterruptPort _ChangerRequest;
...
_ChangerRequest = new InterruptPort(_pinChangerRequest, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeLow);
_ChangerRequest.OnInterrupt += new NativeEventHandler(_ChangerRequest_OnInterrupt);
on adding the eventhandler i get a System.ArgumentException.
Message = "Exception was thrown: System.ArgumentException"
StackTrace = "Microsoft.SPOT.Hardware.InterruptPort::EnableInterrupt\r\nMicrosoft.SPOT.Hardware.NativeEventDispatcher::add_OnInterrupt\r\nGHIGraphicalDemo.Changer.Kenwood::.ctor\r\nGHIGraphicalDemo.Presentation.ChangerWindow::.ctor\r\nGHIGraphicalDemo.Presentation.Deskt…
what could this be ?