Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

B9Brew

Member Since 26 Feb 2012
Offline Last Active Mar 01 2012 04:01 AM
-----

Topics I've Started

Polarity Problem

01 March 2012 - 03:50 AM

Hello users,

I've been working through the Get Started with Netduino e-book using the Netduino Plus. All projects have worked fine until the "Mixing Colors" project in chapter 6. I've tried with the maker shield and with the breadboard and in both cases my RGB LED acts like its common is an anode rather than a cathode - i can't get the LED to light up unless i put a GIO_Pin_D9 (or 5 or 6) on the common with the ground on a leg (after a resistor). Do I need to initialize something? the code is simple:
        public static void Main()
        {
            // write your code here
            PWM redLed = new PWM(Pins.GPIO_PIN_D9);
            PWM greenLed = new PWM(Pins.GPIO_PIN_D6);
            PWM blueLed = new PWM(Pins.GPIO_PIN_D5);

            
            redLed.SetDutyCycle(100);
            greenLed.SetDutyCycle(30);
            blueLed.SetDutyCycle(60);

            Thread.Sleep(Timeout.Infinite);
        }

No Netduino Templates in VS 2010

26 February 2012 - 05:07 PM

Help. I can't see the NetDuino templates in VS2010 Professional. After two installs and uninstalls i tried the following. First I installed .NET Micro Framework SDK 4.1 (QFE1). I tested install by running VS2010 and verifying four installed templates in the Micro Framework sub-category: Class Ligrary, Console Application, Device Emulator and Window Application. I had no problem creating a new Console Application project. Next I installed Netduino SDK v4.1.0 (November 2010 Refresh). I used the default location which was C:\Program Files\Secret Labs\Netduino SDK\. I still see only four templates in VS2010 when i create a new project. There is no Netduino templates. I am running VS2010 as administrator.

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.