using System; using System.IO.Ports; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoGo; namespace GoTest { public class Program { ====>>> public static NetduinoGo.ShieldBase sb = new NetduinoGo.ShieldBase(GoSockets.Socket4); public static SerialPort SP = new SerialPort(sb.SerialPorts.COM2, 9600, Parity.None, 8, StopBits.One); public static void Main() { Debug.Print("Program starting"); Thread.Sleep(Timeout.Infinite); } } }
- Netduino Forums
- → Viewing Profile: Topics: GregR
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.
Community Stats
- Group Members
- Active Posts 32
- Profile Views 7081
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Location
Keller, Tx
1
Neutral
User Tools
Friends
GregR hasn't added any friends yet.
Topics I've Started
System.Exception in GoBusSerialTransport.dll
18 November 2012 - 04:35 PM
I have upgraded my ShieldBase to the beta 4 firmware and my Go to the 4.2.1.0 firmware. I also unzipped the ShieldBase DLL stuff into the SecretLabs Assemblies directory. And I made sure I added that reference to my project. The simple code below throws a "An unhandled exceptopn of type 'System.Exception' occurred in GoBusSerialTransport.dll" when I try to create the ShieldBase object. Below is some very simple code that fails. I need to know what is causing this issue. I am sure I have just missed something with all of the manual ShieldBase file installations. The line below with ====>> is the line of the exception.
nwazet display module
31 August 2012 - 01:31 AM
I was just wondering if there is any programatic way to turn off the backlight on the nwazet display. It would be good to be able to do this when the app is idle for a long period of time and you want to save power. Is this possible? Also, what about the power LED on the module?
Thanks!
Greg
reset/reboot go
15 August 2012 - 04:02 AM
I've searched high and low and cannot find an answer to this. How can I reboot my Go without having to physically unplug it every time? Sometimes I just want to restart the app and it seems like plugging/unplugging the USB all of the time is unneeded wear and tear. What am I missing?
shieldbase confusion for a n00b
13 August 2012 - 03:08 AM
First of all...I fall into the total n00b category with all of this. I've played with the Arduino some but have very recently added a Netduino+ and a NetduinoGo to my toy box. I'm having a hard time wrapping my head around how the Go and shieldbase will work. (All of the info below is assuming the shieldbase is out of beta and everything is working without any of the current limitations that are in place for the beta).
So for example, I took the Arduino library for the Chronodot and ported it and got it working just fine on the Netduino+. So let's say I wire up the Chronodot to the shieldbase...how is the standard Chronodot library going to work since it does not even know about a shieldbase or which socket that shieldbase is even plugged into? Is the library going to have to be rewritten to work specifically with the Go and shieldbase? Or am I missing something fundamental here? Or do I somehow load the Chronodot library onto the shieldbase so it can interact as if it is just on a Netduino?
Thanks in advance...
Greg
- Netduino Forums
- → Viewing Profile: Topics: GregR
- Privacy Policy