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.

navinedrev

Member Since 17 Apr 2015
Offline Last Active Apr 30 2015 01:00 PM
-----

Topics I've Started

Detect if USB is connected

28 April 2015 - 04:12 PM

Hello all. I'm new to Netduino.

 

I'm trying to detect if my Netduino is connected to USB for execute different code:

if(usbIsConnected){
     // Routine if have USB connection
} else {
    // Other Routine
}

How can I detect if USB is connected?


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.