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's Content

There have been 3 items by B9Brew (Search limited from 30-March 23)


By content type

See this member's

Sort by                Order  

#24884 Polarity Problem

Posted by B9Brew on 01 March 2012 - 03:50 AM in Netduino Plus 2 (and Netduino Plus 1)

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



#24715 No Netduino Templates in VS 2010

Posted by B9Brew on 27 February 2012 - 02:15 AM in Visual Studio

Fixed the problem. In Tools/Options dialog under Projects and Solutions/General i changed the location of User project templates and made sure the Netduino files were in those locations.



#24700 No Netduino Templates in VS 2010

Posted by B9Brew on 26 February 2012 - 05:07 PM in Visual Studio

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.