View Single Post
  #6   Spotlight this post!  
Unread 25-01-2013, 23:18
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Help on programming a limit switch

Ah, thank you for the corrections. There is nothing in the false cases of my code so I'm not sure if it would ever be attempting to write to the local variable at more than one location (perhaps in the instant you press the button for the first time). But your way is definitely more elegant.
Reply With Quote