View Single Post
  #2   Spotlight this post!  
Unread 13-02-2009, 00:15
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,112
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: Micro Switch Code

The flipperdoorright variable is not the value of the switch. It's a pointer to the object which has methods for reading the switch.

Try flipperdoorright->Get() and flipperdoorleft->Get() instead.



Congratulations on a very good presentation of your problem, by the way.
Reply With Quote