View Single Post
  #11   Spotlight this post!  
Unread 26-01-2014, 09:10
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,833
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: solenoid button help

It's easier to show, so here's an example (attachment 1) using a Select (found under Programming -> Comparison), and a Feedback node that remembers what the last value set was.


The second attachment shows the alternate method that just uses Case statements. The extra Case boxes at the bottom are just there to show what the False cases look like.
Attached Thumbnails
Click image for larger version

Name:	TwoButtons.png
Views:	18
Size:	22.2 KB
ID:	15970  Click image for larger version

Name:	TwoButtonsAlternate.png
Views:	13
Size:	25.5 KB
ID:	15971  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-01-2014 at 09:19.
Reply With Quote