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.

EC_dude

Member Since 11 Oct 2010
Offline Last Active Jan 10 2011 06:56 AM
-----

Posts I've Made

In Topic: Buzz a piezo speaker?

31 October 2010 - 05:52 AM

Hey

I am trying to do the same on my Netduino. May I know what the timer is used for ? When I try to just set the pulse using the SetPulse command with appropriate inputs, an unhandled exception pops up and the speaker just keeps producing a particular frequency.

static void play(int tone, int duration)
        {
            PWM speaker = new PWM(Pins.GPIO_PIN_D6);
            uint period = (uint)(tone);
            speaker.SetPulse(period, period/2);
            Thread.Sleep((int)(duration / 1000));
        }

Here is what i use to play the song. The above function is called from other which gives it the period(of the pulse) and the duration for which it is played..

In Topic: Analog Input problem

26 October 2010 - 06:55 PM

Hi I might sound very dumb here but how do you people come to know of those commands ? I found this thread when i searched for analog input syntax. Is there some documentation or anything which can help me getting familiar with such commands ? PS: I'm a beginner at Visual C# and micro framework.

In Topic: Features of NetDuino

12 October 2010 - 09:03 AM

Thanks people ! That was certainly helpful and I have started doing some things with my Netduino. Waiting for the user guide !

In Topic: Features of NetDuino

11 October 2010 - 04:31 PM

I mean C# for the netduino... I am going through the projects but is that all I can do or is there something like an instruction manual which gives the knowledge of the various options available ..

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.