Netduino home hardware projects downloads community

Jump to content

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


Member Since 12 Apr 2013
Offline Last Active Sep 08 2019 06:48 PM

Posts I've Made

In Topic: Netduino Automation - Digital I/O Shield

14 June 2016 - 12:11 PM

Link is broken

In Topic: Teaser for upcoming news at MBN

21 February 2016 - 10:32 PM

Very nice.

In Topic: Deploy with custom software (without VS)

29 December 2015 - 08:10 PM

You can always modify the code to load the Assembly form an embedded resource.

In Topic: Missing System.Collections.BitArray

24 November 2015 - 02:12 PM

replace (((int) 1) << pos)) 

with LeftShift((int)1, pos)

and you have what you need for VB.

In Topic: Missing System.Collections.BitArray

24 November 2015 - 01:45 PM

The BitArray is in the full framework and not in the Micro Framework.


How is the "Hex Byte" being returned from your device. If you are receiving a Byte array and not a string, it would be much easier and faster to check the bit with the following code:

public static bool IsBitSet(byte value, byte pos)
    return ((value & (((int) 1) << pos)) != 0);

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.