![]() |
Limit Switches
hello i ma a lead programmer from team 5709 the rudyard nerfherders and i was wondering how do i program limit switches to stop a motor from rotating a certain way when it is closed?
so if the elevator hits a limit switch on the bottom it will only be able to allowed to go up and not down anymore. |
Re: Limit Switches
I can't answer your question, but you will need to share the programming language you are using as well as weather you are using NC or NO for the limit switch. Once this info is provided someone on here should be able to help you.
|
Re: Limit Switches
i ma using java and i would like to know how to do it for them both
|
Re: Limit Switches
Hi,
The simple way to do this would be with an if statement: Code:
double speed = getJoystickAxis(); |
Re: Limit Switches
This topic has been explained more in-depth in a previous post: http://www.chiefdelphi.com/forums/sh...d.php?t=134642
You can probably find the best answer there. |
| All times are GMT -5. The time now is 10:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi