Thread: Spikes in C++?
View Single Post
  #2   Spotlight this post!  
Unread 02-02-2009, 18:27
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Spikes in C++?

You use the generic Relay class--the full documentation is on page 94 of the reference, but the constructer is just:

Code:
Relay (UINT32 channel, Relay::Direction direction = kBothDirections)
Or
Code:
Relay (UINT32 slot, UINT32 channel, Relay::Direction direction =
kBothDirections)
__________________
Get yer robot source code here!
Reply With Quote