View Single Post
  #7   Spotlight this post!  
Unread 13-02-2008, 01:29
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: pwm controlled by relay

Quote:
Originally Posted by usbcd36 View Post
You could use static variables to achieve these means.
Yep. That is exactly what we do to produce an "on/off" button effect. It has to be modified slightly to use 1 button for "toggle" instead of 2 distinct "tank" and "other" buttons. I don't know why you want to drag a relay into this, and I am almost sure I don't understand what you are asking. Could you explain better?

Quote:
but the only place we can find button commands are on relay blocks
What about buttons on the joysitck? Digital inputs on the OI? (Or even resistors in parallel?)