The System.Collections.BitArray function seems to be missing in micro framework 4.3 vb. Has anyone had this problem and can it be replaced?
- Netduino Forums
- → David Weaver's Content
David Weaver's Content
There have been 24 items by David Weaver (Search limited from 12-May 23)
#64553 Missing System.Collections.BitArray
Posted by David Weaver on 22 November 2015 - 04:05 PM in General Discussion
#64555 Missing System.Collections.BitArray
Posted by David Weaver on 24 November 2015 - 12:36 PM in General Discussion
The System.Collections.BitArray is in the micosoft support help pages. I just checked and it is not in C# either. I am working on a project that the hex byte returned from the device has information in the bits I need to read.
Example: bits returned in hex "00100000" the third bit is ON.
Here is the solution I came up with I know there has to be a better way but this works. To use it pass the hex value as a string and parse the
returned bit string to find if it is a 1 or 0. I hope this is helps someone. I have posted in VB and C#.
Private Shared Function HexStringToBinaryString(hex As String) As String
#64556 netduino Servo controller
Posted by David Weaver on 24 November 2015 - 01:13 PM in Netduino 3
#64558 Missing System.Collections.BitArray
Posted by David Weaver on 24 November 2015 - 02:00 PM in General Discussion
Thank you for the help. This would be much better if vb had bit shifters "<<" and ">>" they are also missing. I could use the code above with this
http://forums.netdui...ors-to-a-vbnet/
Thanks again I hope the folks at MS are reading this forum and put the bit shifters back in the vb operating system.
#64559 I2C strange behavior
Posted by David Weaver on 24 November 2015 - 02:08 PM in Netduino Plus 2 (and Netduino Plus 1)
This may help,
http://netmftoolbox....017/Mcp23017.cs
Stefan Thoolen did a great job with the Toolbox.
#64561 I2C strange behavior
Posted by David Weaver on 24 November 2015 - 02:13 PM in Netduino Plus 2 (and Netduino Plus 1)
Here is the link to the 12c source code from stefan's Toolbox.
#64562 Missing System.Collections.BitArray
Posted by David Weaver on 24 November 2015 - 02:15 PM in General Discussion
Thanks again for the help
#64584 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:49 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64585 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:49 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64586 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:49 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64587 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:52 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64588 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:52 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64589 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:52 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64590 SMTP Client
Posted by David Weaver on 01 December 2015 - 04:52 PM in Project Showcase
Good Morning,
I am working on a project that requires a low temperature alert when the temperature is below 50 degrees. In addition it needs to send the IP address to connect to. The solution is to send an email using GMX mail. http://www.gmx.com/. Once an email address is created the project below will send the email message to any email address. I am only using GMX for sending the message to a Gmail address. Pavel Bansky inspired parts of the project links to is blog and source code are below.
#64607 Issue with Create Directory
Posted by David Weaver on 04 December 2015 - 08:26 PM in General Discussion
#64611 Issue with Create Directory
Posted by David Weaver on 05 December 2015 - 12:19 PM in General Discussion
Good morning kiwBryn or afternoon New Zealand is a long way from Illinios,
After adding a reference to Microsoft.SPOT.IO the code below works in vb version 4.3 using the Netduino 3.
#64616 Issue with Create Directory
Posted by David Weaver on 05 December 2015 - 10:01 PM in General Discussion
Hello kiwBryn, (I won't pretend to even know what day it is )
This is the code I am using may be over kill be it seems to work every time?
If Directory.Exists("\SD\Scenes") = False Then
#64633 Netduino dead?
Posted by David Weaver on 10 December 2015 - 01:09 PM in General Discussion
The new Netduino 3 wi-fi is a great product! I hope this is a temporary respite.
#64677 Netduino 3 WiFi - no WiFi connection, no IP?
Posted by David Weaver on 27 December 2015 - 01:07 PM in Netduino 3
This could be the issue? Here is my code in vb it requires a reference to NetduinoExtentions.dll.
#64683 Netduino 3 WiFi - no WiFi connection, no IP?
Posted by David Weaver on 28 December 2015 - 12:18 PM in Netduino 3
I am glad you got it working.
I had a hard time getting mine to work also I couldn't remember why its been a few months.
The other issue I had was before I started using the connection I needed about a 3 second delay or I got an error.
#64684 Deploy with custom software (without VS)
Posted by David Weaver on 28 December 2015 - 12:26 PM in Visual Studio
#64719 Gadgeteer Load Module
Posted by David Weaver on 06 January 2016 - 07:20 PM in General Discussion
I would like to use the Gadgeteer Load module https://www.ghielect...log/product/364with my Netduino 3. Has anyone tried the Load module with Netduino?
Thanks for any ideas
#65648 Configure Wi-fi
Posted by David Weaver on 23 August 2016 - 05:18 PM in General Discussion
#66060 Netduino Plus / Windows 10 / VS2015
Posted by David Weaver on 22 October 2016 - 01:20 PM in General Discussion
Brian,
This sounds like a nightmare. I am not an expert but I’ll try to get you up and running.
First I thank 4.5 is a Windows .net version not Micro Frameworks?
I have heard Visual Studio 2015 is not ready for prime time try using VS2013 express.
The latest stable Micro Framework version is 4.3. But my experience has shown 4.2 works just as well for most applications.
Start you application as a .net framework console application. Then select the libraries from the directories where they exist.
C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3
C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3
For 4.2 use these directories:
C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2
C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.2
I hope this helps,
David Weaver
- Netduino Forums
- → David Weaver's Content
- Privacy Policy