Thread: Relay Code
View Single Post
  #2   Spotlight this post!  
Unread 08-03-2010, 21:31
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 674
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Relay Code

There are two possible constructors for the Relay class (from relay.h). Here are their definitions:
Code:
Relay(UINT32 channel, Direction direction = kBothDirections);
Relay(UINT32 slot, UINT32 channel, Direction direction = kBothDirections);
You can find the header files in c:\windriver\vxworks-6.3\target\h\wpilib.
__________________

Last edited by mikets : 08-03-2010 at 22:39.
Reply With Quote