View Single Post
  #8   Spotlight this post!  
Unread 13-06-2015, 22:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Pneumatics programming help needed

Remove everything from the False Cases and it should work.

There are two issues.
  1. The On/Off doesn't work with a double solenoid
  2. Both cases are executing at the same time, so they are clobbering each other. It will work if the False cases are empty and both buttons are not pressed at the same time.
A better technique is to only set the solenoid in a single place outside both cases.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-06-2015 at 23:17.
Reply With Quote