Go to Post I may be an engineer, but I am not smarter than a 5th grader. - Josh Drake [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-01-2014, 17:24
NegaNexus NegaNexus is offline
Registered User
AKA: Thys Ballard
FRC #2130 (Alpha+)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Coeur d'Alene, Idaho
Posts: 16
NegaNexus is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 02-01-2014, 17:28
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Spike Relay Instance in C++

Have you looked at this? http://wpilib.screenstepslive.com/s/...hanisms-relays
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2014, 15:34
anidev's Avatar
anidev anidev is offline
Registered User
AKA: Anirudh
FRC #0612 (Chantilly Robotics)
Team Role: Programmer
 
Join Date: May 2012
Rookie Year: 2010
Location: Fairfax, VA
Posts: 6
anidev is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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