Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Limit Switch Code (http://www.chiefdelphi.com/forums/showthread.php?t=74349)

dnrobotics11 13-02-2009 14:53

Limit Switch Code
 
What is the code for initializing and returning the value of a limit switch in the WindRiver language?

Would the code be the same for a jumper switch (used for immediate feedback depending on the alliance)?

Thank you very much.

Alan Anderson 13-02-2009 15:05

Re: Limit Switch Code
 
Switches are switches. Just make a DigitalIn object and use its Get() method.

dnrobotics11 13-02-2009 16:22

Re: Limit Switch Code
 
thanks a lot


All times are GMT -5. The time now is 02:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi