Go to Post Thank you NASA (except for Dave, his tormenting hints make us even) - Mike Schroeder [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
  #4   Spotlight this post!  
Unread 28-03-2004, 23:52
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Speed limiting code from last year in C?

Our coder came up with a thing that may help (I hope)
this is in the header file:

#define Grabber_Speed p4_x /*port 4 x on OI */
#define Forward_Speed (127 + (Grabber_Speed / 2))
#define Reverse_Speed (127 - (Grabber_Speed / 2))

The Grabber_Speed is linked to a Knob (pot) on the IO

We are now just using IO switches to go Forward and Reverse So forward and reverse get pluged in with if statements.
The Range for Grabber_Speed is 0 to 254 as it comes from The OI

Last edited by Biff : 28-03-2004 at 23:54.
 


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
Great year. archiver 1999 0 23-06-2002 22:46
Wow! what a year archiver 2000 8 23-06-2002 22:43
2000 not a new Millenium archiver 2000 7 23-06-2002 22:17
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32
speed control punarhero Technical Discussion 11 24-01-2002 18:03


All times are GMT -5. The time now is 06:07.

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