Netduino home hardware projects downloads community

Jump to content


Photo

Visual Studio Community 2013?


  • Please log in to reply
1 reply to this topic

#1 Frode

Frode

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • LocationNorway

Posted 18 April 2015 - 06:15 AM

Has anyone tried programming Netduino using the new, free, Visual Studio Community 2013? Is it compatible with the Netduino SDK?

#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1070 posts
  • LocationNorth Yorkshire, UK

Posted 18 April 2015 - 08:54 AM

Just built and deployed blinky for the onboard LED and it works fine:

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

namespace NetduinoPlus2
{
    public class Program
    {
        public static void Main()
        {
            OutputPort dp = new OutputPort(Pins.ONBOARD_LED, false);
            while (true)
            {
                dp.Write(!dp.Read());
                Thread.Sleep(500);
            }
        }
    }
}

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.