image

Buenas

after a couple of days at the beach with friends of Gusenet , let’s get updates to cholon in laptop.

Note:I not forget to thank all those who participated and coordinated the eventazo #YoNodeTuXaml. There was a lot of cracks and the truth that pass a great time. Tomorrow I will write a post about (to see if @jc_quijano happens to me some photo)

Today are going to what we, uninstall Visual Studio 2010 and step work with. Net Gadgeteer only with Visual Studio 2012 (that’s the idea I mentioned yesterday )).

Here is a chronicle of the steps I have followed, including the ostias and banging that I hit on the way to work.

1. Uninstall previous versions. But with care, do not uninstall the SDK (although it should do you lack if you don’t have HW, do me case)

image

2. Download and run .NET Gadgeteer Core 2.42.700 from https://gadgeteer.codeplex.com/releases/view/105366

image

3. 2 minutes later it is all OK

image

4. Now if I open Visual Studio 2012 and I can see new types of project for Gadgeteer

image

5. Go with a new project of type NETMF 4.2… Oyster

—————————
Microsoft Visual Studio
—————————
The project file ‘C:\Users\ < user > \AppData\Local\Temp\xnrmsqxj.xek\Temp\GadgeteerApp8.csproj’ cannot be opened.

There is a missing project subtype.
Subtype: ‘{b69e3092-b931-443c-abe7-7e7b65f2a37f}’ is unsupported by this installation.
—————————
OK Help
—————————

6. On the edge of the teeth, that pain! and I do not understand very well why. Good in reality if it has been the following:

A prerequisite for this version of. Net Gadgeteer for Visual Studio 2012 is .net Micro Framework 4.3. I have no plan to upgrade my hardware with what I thought that with NETMF 4.2 reached me, but no. I have download NETMF 4.3 SDK from http://netmf.codeplex.com/downloads/get/500745 and launch the installer.

image

7. Inside it see that it has any “previous” version of NETMF

image

8 So forward!

image

9 And now if I can already create new project

10 Escrivir a Hello World!

11 AND… It works :D

In the case of. Net Gadgeteer it is something like putting the following elements

With the following diagram

image

and the following code pair turn on and turn off the led on the button when you press the same

   1: using Gadgeteer.Modules.GHIElectronics;

   2:  

   3: namespace GadgeteerApp12

   4: {

   5:     public partial class Program

   6:     {

   7:         void ProgramStarted()

   8:         {

   9:             button.ButtonPressed += ButtonButtonPressed;

  10:         }

  11:  

  12:         void ButtonButtonPressed(Button sender, Button.ButtonState state)

  13:         {

  14:             button.ToggleLED();

  15:         }

  16:     }

  17: }

Saludos @ La Finca

El Bruno

image image image

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading