Of course.
Just thought that since it's the same error, I might as well refer to the original code.
Here is the code i wish to compile and upload to my arduino (uno):
#include "FastSPI_LED2.h"
#include <Conceptinetics.h>
// Number of slave DMX channels
#define DMX_SLAVE_CHANNELS 120
// Define the channel of the device
#define DMX_CHNLS 0
// Configure a DMX slave controller
DMX_Slave dmx_slave ( DMX_SLAVE_CHANNELS );
// Number of independents LEDs in each strip segment
#define NUM_LEDS 160
// Output PIN (Data LED strip connection) definition
#define DATA_PIN1 9
// This is an array of leds. One item for each led in your strip. All strips must have the same number of led segments, defined by NUM_LEDS.
CRGB leds1[NUM_LEDS];
const int ledPin = 13;
void setup() {
// Initialize each segment
FastLED.addLeds<LPD8806, DATA_PIN1, RGB>(leds1, NUM_LEDS);
// Enable DMX slave interface and start recording
// DMX data
dmx_slave.enable ();
// Set start address to 1, this is also the default setting
// You can change this address at any time during the program
dmx_slave.setStartAddress (1);
// Register on frame complete event to determine signal timeout
//
dmx_slave.onReceiveComplete ( OnFrameReceiveComplete );
}
void loop() {
// Update the value of LED state
for (int i = 0; i < NUM_LEDS; i++) {
// LED group in i position of first bar
leds1[i].r = dmx_slave.getChannelValue(3*i+1+DMX_CHNLS);
leds1[i].g = dmx_slave.getChannelValue(3*i+2+DMX_CHNLS);
leds1[i].b = dmx_slave.getChannelValue(3*i+3+DMX_CHNLS);
}
// Once updated, refresh LEDs and hold on for 30 ms.
FastLED.show();
delay(30);
}