View Single Post
  Spotlight this post!  
Unread 04-03-2011, 07:28
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Individual Control of Each Spike output ?

Code:
        myRelay.setDirection(Relay.Direction.kBoth);
        
        myRelay.set(Relay.Value.kOff); // M+ and M- = 0V
        myRelay.set(Relay.Value.kForward); // M+ = 12V, M- = 0V
        myRelay.set(Relay.Value.kReverse); // M+ = 0V, M- = 12V
        myRelay.set(Relay.Value.kOn); // M+ = 12V, M- = 12V
Wire as per instructed in posts above with grounds of your LED directly to power distribution.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...