Hey gize, im doing an ambilight cloneproject and i got a problem which i cant seem t fix it.
I am using an Rpi 2 for Openelec with Hyperion and LED strip WS2801 RGB.
Also using an Arduino UNO for testing and debugging LED strip.
So, hyperion is working fine and i have no issues with the software.
My problem is: in the LED strip, the blue light on RED and the RED light on Blue. I try fixing this with this:
#include "FastLED.h"
// How many leds in your strip?
#define NUM_LEDS 86// Data pin that led data will be written out over
#define DATA_PIN 2// Clock pin only needed for SPI based chipsets when not using hardware SPI
#define CLOCK_PIN 3#define COLOR_ORDER RGB
// Define the array of leds
CRGB leds[NUM_LEDS];void setup() {
FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, COLOR_ORDER>(leds, NUM_LEDS);
}void loop() {
// Rotate colors (R -> G -> B)
LEDS.showColor(CRGB(255, 0, 0));
delay(500);
LEDS.showColor(CRGB(0, 255, 0));
delay(500);
LEDS.showColor(CRGB(0, 0, 255));
delay(500);
}
And tried to change the DEFINE COLOR ORDER Section. The problem is any random color order i put, the led strip still changes Blue/Red and Red/Blue. I have uploaded 2 videos for demonstration of the error which it will be lot easier to understant the problem. If anybody cold help, ill appreciate it.
Thanks and video links below