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.

skytribe's Content

There have been 8 items by skytribe (Search limited from 30-June 24)


By content type

See this member's

Sort by                Order  

#16276 Visual Basic support for Netduino and .NET MF now in beta

Posted by skytribe on 03 August 2011 - 09:30 PM in Visual Basic Support

Blog article using VB for simple Netduino Application http://blogs.msdn.co...a-netduino.aspx



#15387 VB2010 Express

Posted by skytribe on 12 July 2011 - 09:50 PM in Visual Basic Support

Hi Newbie here,

I Have just got my Netduino Plus as I saw it now has BETA VB.net support.

I'm using VB2010 Express. I updated the the firmware TinyBooter and the new beta firmware I installed the beta SDK everything seemed to go fine.

So I then made the blinky program to test out. It works sort of... When I click the start debugging button the status at the bottom left of the screen gets hung up at 'Preparing to deploy assemblies to the device' after a minute or two VB comes back saying it can't communicate with the device.

If I cancel the deploy and unplug the Netduino and then hit 'start debugging' while the device is booting, the code gets downloaded to the netduino without error, however, VB gets hung up. The status reports 'The debugging target is not in an initialised state; rebooting'. It hangs here and gets no further.

If I hit the reset button on the netduino the netduino reboots and the code is executed and the LED starts flashing. VB stays hung on 'The debugging target is not in an initialised state; rebooting'. If I hit 'stop debugging' VS goes back to the editor window.

I know the software is in beta so it may be a bug or it may be me doing something wrong?



There is a glitch which is resolved by going to the Project Properties Tab and it will probably be on USB but reselect the Netduino item and then try again and this should succeed.

This is most likely cause and is being worked on.



#15350 OneWire ALPHA

Posted by skytribe on 12 July 2011 - 12:13 AM in Beta Firmware and Drivers

Any chance supporting DHT11/DHT22 humidity and temperature sensors? They're not one-wire, but the communication is similar and needs to be done native, not in managed C# code. I see Steve88W wrote earlier in this topic that there is a "huge step closer to supporting the DHT11 and DHT22". Any progress on that?


Add one for DHT11 sensors support.



#14439 Netduino Firmware v4.2.0 BETA 1

Posted by skytribe on 17 June 2011 - 06:17 PM in Beta Firmware and Drivers

That's fixed now, but when deploying attached app, it gives:


I believe there is another update to the firmware that is possibly required. You may want to check with Chris and try reflashing the latest firmware as well.

The joys of Beta software. Obviously finding issues is part of the process - so its great that people are starting to use it and we can find these.

Some of these will be VB Only issues as Withevents is a VB Only construct. So at least it is not completely blocking event scenarios as its always possible to use the addhandler construct in the same way C# sets up event handlers. Not Ideal but we are working to resolve issues.



#14434 Netduino Firmware v4.2.0 BETA 1

Posted by skytribe on 17 June 2011 - 03:53 PM in Beta Firmware and Drivers

Found yet another bug, in VB.NETMF, while typing this line and pressing Enter the IDE crashes the hard way:

Public WithEvents button As InterruptPort = New InterruptPort(Pins.ONBOARD_SW1, False, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeBoth)
Now there are more ways to handle events but a crashing IDE, not good! :D



Download the latest version of the MF 4.2 (Beta).

This issue should now be resolved.



#14145 Visual Basic support for Netduino and .NET MF now in beta

Posted by skytribe on 09 June 2011 - 04:12 PM in Visual Basic Support

This is tremendous. I'm a capable C# dev, but, because I live in it all day, I have a tendency to think VB. Will make the rapid development of code a little more rapid for me. Thanks to everyone that contributed to this for their hard work!



Its great to see that people are excited about VB Support. I work in both and love VB. The VB stuff is still in Beta so please do provide feedback on things that are not working 100% so we can work to get them resolved.



#14127 Netduino Firmware v4.2.0 BETA 1

Posted by skytribe on 09 June 2011 - 05:59 AM in Beta Firmware and Drivers

Just to keep you busy;

Module Module1

    Sub Main()
        On Error GoTo testing

        ' write your code here

        Exit Sub
testing:
        Resume Next
    End Sub

End Module

Results in:



Old style on error goto handling is not supported in this just as it is not supported in Win Phone 7 / XNA / VBCore functionality.

Should use Try Catch exception handling.

For more about items which are not supported check out VBCore http://blogs.msdn.co...o-2010-sp1.aspx

This will detail pretty much what is left out and what is included. VB support on these platforms is not the same as full desktop version. Older legacy function, late binding, generics, old style error handling are all not supported. If your writing modern VB.NET code you should be fine but functionality is not full desktop functionality. So please be aware of the limitations.

Also enure optimization is enabled for all projects - by default it is turned on for new project but turning it off will prevent debugging from working correctly because of the limited framework functionality.



#14126 Netduino Firmware v4.2.0 BETA 1

Posted by skytribe on 09 June 2011 - 05:52 AM in Beta Firmware and Drivers

Let me ping the folks on the Visual Studio team and see where we should report bugs.

VB support is brand new, and in beta...so I'm guessing that we'll find quite a few glitches.

I also noticed that watchpoints like "led.Read()" don't work yet.

Chris



Already know issue Withevent and Handles with this release - workaround use addhandler.




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.