View Single Post
  #2   Spotlight this post!  
Unread 12-02-2015, 21:17
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,676
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: How to use an RGB LED strip with a Vex Spike?

We just did this with two spikes, also with a common +12 and separate 0V lines.

We wired the red, green, blue, and black (common) to the four outputs of two spikes, then set the values to high or low as needed. If you do this, you will need not only to use kForward (+ is positive, - is negative) and kReverse (- terminal is positive, + is negative), but also kOn (both positive) and kOff (both negative). I'll post a truth table for this in a few minutes...
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.