View Single Post
  #12   Spotlight this post!  
Unread 28-02-2011, 11:54
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Button conundrum

You can't use multiple Motor Set Output functions for the same motor at the same time and expect consistent results. One of them will "win", though predicting which one gets executed last is generally not possible.

What you need to do is find a way to choose among the possible motor output values and feed them to a single Set Output. You can use Case blocks in series, or use cascaded Select functions (my personal preference).
Reply With Quote