Go to Post Hey, I'm not my dad, I dont know anything! - Lil' Lavery [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
  #1   Spotlight this post!  
Unread 01-12-2004, 17:14
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
Cool pwm outputs vs. joystick y-axis

hello ,
ok, I'm kinda a newbie. for simplicity's sake, lets say I have a robot with a single motor, and all I want it to do is go forward and backward. is there a way to make the robot adjust its speed according to how far the joystick is pushed forward or backward? rather than just when it reaches full forward or reverse. can you show me what the code would look like? if that isn't possible, or easily done, can you send me what the code would look like to control the power going to the motor via a pwm. that would be super helpful because with that I can figure out most of the other stuff.
oh, and if you happen to know, how do I read from a shaft encoder that's hooked up to a digital input.
thank you so much,
Stephen
 


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
Inverting Y axis on joystick FormatteD_C Programming 7 24-02-2004 16:56
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 20-02-2004 17:00
Trouble with pwm outputs misterikkit Programming 16 17-01-2004 10:56
relay and pwm outputs nick_champ_2 Electrical 1 31-01-2003 13:08
switching joystick axis????? team222badbrad Technical Discussion 9 16-01-2002 23:07


All times are GMT -5. The time now is 17:57.

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