Sure, there isn't much..
Dim InputPorts(11) As InterruptPort InputPorts(0) = New InterruptPort(Pins.GPIO_PIN_D0, True, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeBoth)... InputPorts(8) = New InterruptPort(Pins.GPIO_PIN_D8, True, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeBoth) InputPorts(9) = New InterruptPort(Pins.GPIO_PIN_D9, True, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeBoth) InputPorts(10) = New InterruptPort(Pins.GPIO_PIN_D10, True, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeBoth) InputPorts(11) = New InterruptPort(Pins.GPIO_PIN_D11, True, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeBoth)
I am declaring an array, then assigning each port. 0-8, 10-12 works fine. For some reason I get an exception when I try Pin9