Imports Microsoft.SPOTImports Microsoft.SPOT.HardwareImports SecretLabs.NETMF.HardwareImports SecretLabs.NETMF.Hardware.NetduinoModule Module1 Sub Main() Dim led As New OutputPort(Pins.ONBOARD_LED, False) Do led.Write(True) Thread.Sleep(250) led.Write(False) Thread.Sleep(250) Loop End SubEnd Module
Hello how would I go about counting every time the onboard led goes high with an interrupt in this code and display the state (true or false) in the Debug.Print window