Page 1 of 1

Netduino - using Visual studio C#

Posted: Tue Apr 12, 2011 8:24 am
by bitfogav
Hey people.

Netduino is an open source electronics platform using the .NET Micro Framework.
Featuring a 32-bit microcontroller development environment.

Image


All software is free inc Microsoft Visual C# Express 2010, everything you need can be found at the link below.

http://www.netduino.com/

Heres an example of code to flash a led:

Code: Select all

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;

namespace Netduino_Blinky
{
    public class Program
    {
        public static void Main()
        {
            // write your code here
            OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);
            while (true)
            {
                led.Write(true); // turn on the LED
                Thread.Sleep(1250); // sleep for 250ms
                led.Write(false); // turn off the LED
                Thread.Sleep(1250); // sleep for 250ms
            }
        }
    }
}

Re: Netduino - using Visual studio C#

Posted: Tue Apr 12, 2011 9:00 pm
by brad
That's pretty cool bitfogav, have you been experimenting with one yourself?

Re: Netduino - using Visual studio C#

Posted: Wed Apr 13, 2011 3:52 am
by bitfogav
:)

I have been experimenting as far as visual studios C# and with the syntax of Netduino.

Someone on the Netduino website has made an application emulator of the Netduino board, it is very basic though with just a button and led, so I have been experimenting with that..

My Netduino is in the post! ;) :D

Re: Netduino - using Visual studio C#

Posted: Wed Apr 13, 2011 6:01 am
by brad
How much did it cost?

Re: Netduino - using Visual studio C#

Posted: Wed Apr 13, 2011 6:11 am
by bitfogav
it was £25

At the time of priniting this 25.00 British pounds sterling = 38.66 Australian dollars