can somebody tell me, how the Netduino Handle the first Parameter on an default Interrupt?
InterruptPort button = new InterruptPort(Pins.GPIO_PIN_D6, true, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth); button.OnInterrupt +=new NativeEventHandler(button_OnInterrupt); static void button_OnInterrupt(uint port, uint state, DateTime time) { Debug.Print("Port: " + port.ToString() + " State: " + state.ToString()); }
If i fire this i get:
Port: 52 and State: 0 or 1.
Why GPIO_PIN6 gives me 52?
Pin4 = 12
Pin5 = 51
Pin6 = 52
Somebody knows this Problem?
Kind regards