Hello!
First time poster. Just got my Hydra today in the mail
I’ve been trying to get [italic]anything[/italic] to work for a few hours now. I followed the instructions on Support – GHI Electronics - downloaded all the packages and installed them in order. I then proceeded to update the firmware on my Hydra as instructed from here : GHI Electronics – Where Hardware Meets Software - everything seemed to go fine with the firmware update. I am able to ping with mfdeploy 4.1 as well (tinyclr).
Once I go into visual studio:
[ol] create a new project (gadgeteer type)
add a hydra mainboard to the designer
add any of my modules (Accelerometer in this example)
connect all modules
build
deploy
debug[/ol]
I then get thrown an exception with the following:
A first chance exception of type ‘System.ArgumentException’ occurred in Microsoft.SPOT.Hardware.dll
An unhandled exception of type ‘System.ArgumentException’ occurred in Microsoft.SPOT.Hardware.dll
Full paste found here: http://pastie.org/3314915
On the first line of InitializeModules():
using Gadgeteer;
using GTM = Gadgeteer.Modules;
namespace GadgeteerApp2
{
public partial class Program : Gadgeteer.Program
{
// GTM.Module defintions
Gadgeteer.Modules.GHIElectronics.LED7R lED7R;
Gadgeteer.Modules.Seeed.Accelerometer accelerometer;
public static void Main()
{
//Important to initialize the Mainboard first
Mainboard = new GHIElectronics.Gadgeteer.FEZHydra();
Program program = new Program();
program.InitializeModules();
program.ProgramStarted();
program.Run(); // Starts Dispatcher
}
private void InitializeModules()
{
// Initialize GTM.Modules and event handlers here.
accelerometer = new GTM.Seeed.Accelerometer(6);
lED7R = new GTM.GHIElectronics.LED7R(12);
}
}
}
Any ideas what I’m doing wrong here?
Here’s a copy of mfdeploy’s device info: http://pastie.org/3314949