Go to Post FIRST is the only sort of competition that I've seen where somebody can win and the opponents can be genuinely happy for them. - RiceRobotica [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 29-01-2006, 15:44
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Pwm and pot

All you have to do is directly map the pot values to the PWM the servo is on:
Code:
pwm01 = rc_ana_in01;
Change the ports to what you are actually using.

If you need more complicated control... make it more complicated yourself.

--EDIT--
See below message.
__________________


Last edited by Ryan M. : 29-01-2006 at 18:46.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
reading hobby PWM sciguy125 Programming 2 17-10-2005 20:47
R/C Control types Andy Brockway Programming 43 24-11-2003 17:07
How do you set a speed limit on the servo Fares Programming 6 01-01-2003 15:04
Pwm VanWEric Programming 17 01-11-2002 16:07
More pBasic Woes... Dan 550 Programming 4 11-11-2001 23:08


All times are GMT -5. The time now is 16:09.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi