Go to Post When was the last time you heard of someone on their death bed talking about a great movie they saw? I think it far more likely to hear of their accomplishments, something they did to make things better. Well that's what FIRST is all about. - DougHogg [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
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 24-06-2002, 01:02
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: Joy2 Wheel use as switch

Posted by Gui Cavalcanti at 02/21/2001 5:00 PM EST


Student on team #422, Mech Tech, from Governor's School (GSGIS) and Verizon.


In Reply to: Re: Joy2 Wheel use as switch
Posted by Joe on 2/18/2001 8:32 PM EST:



While the previous two suggestions are OK, I'm thinking that for a switch you don't need a massive deadzone. Try this, it's also very streamlined. Remember that the potentiometer wheel's middle is 127!
This is just a lot easier than any of the previous suggestions and divides the wheel equally right down the middle. Psst... it's easier to use a 3-state toggle switch, by the way

if (p2_wheel > 127) then relay_3_forward
relay3_fwd = 0
relay3_rev = 1
goto SkipForward:

relay_3_forward:
relay3_fwd = 1
relay3_rev = 0

SkipForward:
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
spike for pressure switch? Rob Colatutto Rules/Strategy 4 23-02-2003 15:42
Using a switch before autonomous operation KZos550 Programming 11 04-02-2003 19:12
Need help with 255 Variable Joseph F Programming 18 26-02-2002 14:49
Error found in programming for the pump and pressure switch sjharobotics Programming 4 06-02-2002 17:46
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32


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

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