View Single Post
  #9   Spotlight this post!  
Unread 12-02-2013, 10:10
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

To guy from other page: Ok, i'll try to figure out how to do that, i would use another and maybe?
Quote:
Originally Posted by Alan Anderson View Post
I'm still not sure what a "breaker switch" is in your description. I would normally understand it as the robot's main power switch, but that's obviously not what you're talking about. You mentioned limit switches once, so I'll assume that's what you mean.
Sorry about that, limit switches, don't know why i got that they are breaker switches...
Quote:
Originally Posted by Alan Anderson View Post
Mark has already pointed out that you can't have two separate Motor Set functions next to each other and expect things to work, so I'll let that go for now.
Ok, will try something at lunch today.
Quote:
Originally Posted by Alan Anderson View Post
With the logic in your code, the "break" input will prevent the button press from being recognized when it is True. That means you have to have a switch closed from SIG to (-) on the DIO pins in order for the button to make the motor run. How are your switches wired? There are typically three terminals on a limit switch; which terminal are you connecting to each pin on the Digital Sidecar?
I just remember two but i will check... Thought i posed somewhere else earlier...

EDIT:
Quote:
Originally Posted by sthreet View Post
Wired into the Digital I/O into signal and negative.
Will check again though... Not sure what you mean by three terminals... But should I get rid of the not also?

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