Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Spike Relay Instance in C++ (http://www.chiefdelphi.com/forums/showthread.php?t=123896)

NegaNexus 02-01-2014 17:24

Spike Relay Instance in C++
 
Greetings,

I have been looking for a few days about how one would create an instance of the spike relay class. I have looked in the documentation to find out how one declares the direction of the relay to no avail. Does any one have any suggestions?

Thanks,
Thys Ballard, Programmer for the TeraViks

Joe Ross 02-01-2014 17:28

Re: Spike Relay Instance in C++
 
Have you looked at this? http://wpilib.screenstepslive.com/s/...hanisms-relays

anidev 12-01-2014 15:34

Re: Spike Relay Instance in C++
 
If you still have this problem, the C++ WPILib documentation for Relay shows that you can pass Relay::kBothDirections, Relay::kForwardOnly, or Relay::kReverseOnly to specify the direction of the relay.


All times are GMT -5. The time now is 12:04.

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