View Single Post
  #11   Spotlight this post!  
Unread 01-02-2013, 10:27
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Re: Breaker Switches and Buttons to Motors

What i'm saying is that my joystick buttons worked fine using a case structure and constant numbers to control them, now that i split the motor up into two other case structures that have the input of the DIO (both in the false position) they still rely on pushing a button, but one works weirdly, and considering i kept the code the same with different names (to reference different things) I wonder why this is... One is one, other is negative one and if i press both buttons they cancel out and do nothing...

I'll see if i can look at DIO pins, not 100% certain what that is but i should be able to figure it out, either with google or my teacher/mentor/whatever you call him might know.

EDIT: I suppose if I can't figure it out today i'll take some pictures of what the code is and put that up.

Last edited by sthreet : 01-02-2013 at 10:41.
Reply With Quote