View Single Post
  #1   Spotlight this post!  
Unread 31-01-2009, 22:32
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
boolean equations to relay commands

Hi, I'm controlling one relay using two buttons. When one button is pushed the relay is set to forward, when the other button is pushed, the relay is set to reverse. When niether buttons or both buttons are pushed the relay is set to off. I've written up a couple boolean equations for forward and reverse. Here they are

F=A + (notB)
R=B + (notA)

However, since the relay set vi doesnt except a boolean, im not sure how to actually set the relay direction using these equations. Does anyone know how to do this?