- Introduction. https://elbruno.com/2013/07/13/xduino-arduino-vs-netduino-vs-gadgeteer-i/
- Example with Arduino. https://elbruno.com/2013/07/15/xduino-arduino-vs-netduino-vs-netgadgeeter-ii-usamos-el-arduino/
After the super simple exercise of yesterday with Arduino:, today touch switch to Netduino. The first thing we find is that, working with Netduino, we don’t have an official extension for Visual Studio 2012 (or talk about VS2013).
The scenario is far-fetched so I will try to explain it. Netduino uses .Net Micro Framework (NETMF) platform. The current version of NETMF is version 4.3 that if integrates with Visual Studio 2012. However almost all the plates ofNetduino sold come with version 4.2 of NETMF. On the other hand, the official to work with Netduino extension is for Visual Studio 2010 and NETMF 4.2. Adding these parties we have a salad where mismatched parts.
Moreover, if you are looking for on the official Netduinodownloads page, you will see that there is no download forNETMF 4.3 > http://netduino.com/downloads/. And here comes the great Chris Walker to our rescue with this post on a forum where guides us to the discharge of Netduino SDK 4.3, that if it allows us to work with Visual Studio 2012.
This looks better, now in the Visual Studio new project window we can already see the Netduino projects.
Now I select the hardware to see if everything works. In this case I will use
The program that I will use is very simple, a blink the led that is integrated in the plate. It has the following source code:
1: using System.Threading;
2: using Microsoft.SPOT.Hardware;
3: using SecretLabs.NETMF.Hardware.Netduino;
5: namespace NetduinoApplication1
7: public class Program
9: public static void Main()
11: var ledStatus = false;
12: var led = new OutputPort(Pins.ONBOARD_LED, false);
13: while (true)
17: ledStatus = !ledStatus;
Within an Infinite Loop this program changes the status of the LED on the Board every half-second. With the Panel connected to the USB port, giving F5 I encounter the following error:
Error 2 Cannot deploy the base assembly ‘mscorlib’, or any of his satellite assemblies, to device – USB:Netduino twice. Assembly ‘mscorlib’ on the device you have version 184.108.40.206, while the program is trying to deploy version 220.127.116.11
Also in the project properties, I verify that transport is carried out using the USB cable to my plate.
And ready after an F5 already have the application deployed and running.
Will post tomorrow about how to implement the proposed exercise using the BUTTON and the LED on the Board and how to do it with a Groove on it.
Saludos @ Home