Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

twinnaz's Content

There have been 26 items by twinnaz (Search limited from 28-April 23)


By content type

See this member's


Sort by                Order  

#55746 Interrupt on output port?

Posted by twinnaz on 30 January 2014 - 06:56 PM in Netduino Plus 2 (and Netduino Plus 1)

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

 





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.