![]() |
Limit switches(in C++)
how to get the value of the limit switch(pressed or not) through c++ wpilib? thanks.:]
|
Re: Limit switches(in C++)
What is this limit switch connected to? A digital input or a jaguar?
|
Re: Limit switches(in C++)
DIGITAL
|
Re: Limit switches(in C++)
Check out DigitalInput.h
Code:
DigitalInput *limitswitch = new DigitalInput(x); <- x is the DI location |
| All times are GMT -5. The time now is 08:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi