Thread
:
Individual Control of Each Spike output ?
View Single Post
#
7
04-03-2011, 09:57
Joe Ross
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,584
Re: Individual Control of Each Spike output ?
Quote:
Originally Posted by
Mr. Lim
Code:
myRelay.setDirection(Relay.Direction.kBoth); myRelay.set(Relay.Value.kOn); // M+ = 12V, M- = 12V
Have you tried this? It looks like kOn with direction kBoth will throw an exception.
Joe Ross
View Public Profile
Find all posts by Joe Ross
Find CD-Media Photos by Joe Ross
Find CD-Media Papers by Joe Ross