Let me start my answer by saying that I have not yet gotten my device so basically don’t know what I’m talking about. That being said, I did take a look at the documentation on this problem and noticed the following:
(1) Your code closely follows the example given for Eventing and Observable in the documentation. I suspect that this example may be incorrect and needs to be updated. This is all a work in progress I think.
(2) the Documentation at http://developer.wildernesslabs.co/docs/api/Meadow/Meadow.Devices.F7Micro.html for the CreateDigitalInportPort method shows the following signature ```
public IDigitalInputPort CreateDigitalInputPort(IPin pin, InterruptMode interruptMode = InterruptMode.None, ResistorMode resistorMode = ResistorMode.Disabled, double debounceDuration = 0, double glitchDuration = 0)
I think you left out the InterruptMode which is why your event is not firing.
(3) The Button Interrupt example given at http://developer.wildernesslabs.co/Samples/Netduino/ButtonInterruptEvents/ supports this thought since it defines the call to CreateDigitalInputPort with the additional parameters.
I hope this helps. Maybe someone else will chime in later with something better.
Doug