View Single Post
  #7   Spotlight this post!  
Unread 24-02-2004, 15:36
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Using two spikes for one motor

Quote:
Originally Posted by ChrisA
Just don't set both to 1 because that won't work.
This is true in this case Chris, but as an FYI it can work in some cases.

Take the case that you are controlling two pneumatic devices with a single Spike. Electrically you would connect one pin of each of the solenoids to ground and the other to either the M+ or M- on the Spike. Then in software the relayX_fwd controls the device plugged into M+ and relayX_rev controls M-. (Note that you only get on/off functionality with this method) By setting both to one, both devices would be controlled.