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.
Photo

Need help with servo and .NET MF 3.4


  • Please log in to reply
No replies to this topic

#1 Larsey

Larsey

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts

Posted 18 May 2014 - 08:01 AM

Hi everyone!

 

I'm having some problemes getting this MicroServe (servo) to work. I'm using .NET MF 3.4, so the PWM constructor takes a bunch of parameters, that differs from a lot of example code I've found. I guess those examples are based on a older version of the .NET Micro Framework.

 

The code I've got to work is Gutworks: http://forums.netdui...plus-2/?p=39895

 

But I don't understand the numbers, what is "4.712", "10.995"? With an increment of "0.0005" it will take 12500+ iterations thru the loop.

 

My goal is to understand the servo so that I can set an angle for it to go to. Its range is 0-180, so I want to be able to set 20, 55, 176 and so on. 






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.