Netduino - using Visual studio C#
Posted: Tue Apr 12, 2011 8:24 am
Hey people.
Netduino is an open source electronics platform using the .NET Micro Framework.
Featuring a 32-bit microcontroller development environment.

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:
Netduino is an open source electronics platform using the .NET Micro Framework.
Featuring a 32-bit microcontroller development environment.

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
}
}
}
}