Netduino - using Visual studio C#

Post here to let others know of great places to buy components etc... online.

Moderators: Chuckt, Garth, bitfogav

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Netduino - using Visual studio C#

Post by bitfogav » 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.

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

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Netduino - using Visual studio C#

Post by brad » Tue Apr 12, 2011 9:00 pm

That's pretty cool bitfogav, have you been experimenting with one yourself?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: Netduino - using Visual studio C#

Post by bitfogav » Wed Apr 13, 2011 3:52 am

:)

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

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Netduino - using Visual studio C#

Post by brad » Wed Apr 13, 2011 6:01 am

How much did it cost?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: Netduino - using Visual studio C#

Post by bitfogav » Wed Apr 13, 2011 6:11 am

it was £25

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

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 6 guests