View Single Post
  #2   Spotlight this post!  
Unread 28-03-2013, 06:41
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Joystick button to set output

It sounds like you need an edge detector and a rising edge detector.

The attached image shows that when the Boolean values are not equal, that is an edge. Either the value went false->true or true->false. In both of these you want to change the motor speed. The Greater than node indicates it was false->true and sets the motor to 1, the other sets it to zero.

Greg McKaskle
Attached Thumbnails
Click image for larger version

Name:	Clipboard 1.png
Views:	51
Size:	64.3 KB
ID:	14470  
Reply With Quote