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.

Adamos

Member Since 18 Aug 2011
Offline Last Active Jan 06 2012 08:13 PM
-----

Topics I've Started

Class compatibility issues with microframework

28 November 2011 - 09:45 AM

Hello guys, I 've implement a class on C# for path planning but i prefer to have it on netduino but collection List and Icomparable interface are not available. Is there any way to overcome this problem?? Thanking you in advance.

Xbee Wrong Text - Help

27 September 2011 - 09:24 PM

Hello guys, I ve a problem when i am sending data from netduino to the xbee attached on the pc , i m receiving some bad text and after the text that i wanted to send. I ve attached a screenshot with the code and the x-ctu application. Please help me!!!! :P Sorry for my bad english.

ESC - Code Problem

26 August 2011 - 09:27 AM

Hello, i am having problems with controlling my ESC. I dont even hear the beep!!!!!

here is the code

namespace lets_start
{
    public class Program
    {
        public static void Main()
        {           
             
            while (true)
            {
                motorOnThenOff();
              //  motorTest();
                
            }  
        }

        static void motorOnThenOff()
        {
            OutputPort motor = new OutputPort(Pins.GPIO_PIN_D5, false);

            int onTime = 2500;  //the number of milliseconds for the motor to turn on for
            int offTime = 1000; //the number of milliseconds for the motor to turn off for

            motor.Write(true);       // turns the motor On
            Thread.Sleep(onTime);    // waits for onTime milliseconds
          //  motor.Write(false);      // turns the motor Off
          //  Thread.Sleep(offTime);   // waits for offTime milliseconds

            motor.Dispose();
        }

        static void motorTest()
        {
        
            PWM Motor = new PWM(Pins.GPIO_PIN_D5);
            
            while (true)
                
                Motor.SetDutyCycle(100);
                Thread.Sleep(500);
                Motor.SetDutyCycle(50);
                
                //Thread.Sleep(800);
                //Motor.SetDutyCycle(0);
            } 
            
          

        }

    }

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.