I am at a roadblock and I need some serious help. No time for intros, so here is my setup.
2x Arduino Uno R3 (We’ll call them Arduino1 and Arduino2)
2x SainSmart XBee Shield
2x XBee Pro Series 1 60mw
2x 75mm Bars - 12V Digital RGB LED Pixels from adafruit.com
As of right now I have Vixen3 lighting software on one computer through USB controlling one strand of the pixels on Pins 2 and 3 on Arduino1 with no problems. I am having trouble sending the data from Arduino1 to Arduino2 with the XBee to recreate what is happening on Arduino1 without having to use another computer. I have posted the code that I am using to control the LEDs on Arduino1, most of the code is borrowed. I really could use some help on this one because my head hurts from banging it against the wall.
#include "Adafruit_WS2801.h"
#include "SPI.h"
#define DPIN 2
#define CPIN 3
int PixelCount = 21;
int bugLevel = 0;
Adafruit_WS2801 strip = Adafruit_WS2801(21, DPIN, CPIN);
void setup()
{
delay(100);
strip.begin();
strip.show();
Serial.begin(115200);
}
void loop()
{
if (Serial.available()>2)
{
waitForVixenHeader();
for (int pixCount=0; pixCount