Arduino IDE Version: 1.8.9
Hardware Model: Arduino Due R3
FastLED Version: 3.2
Setup/Wiring:
5V power supply, Din to pin 11(11k ohm resistor between the two), and GND is attached. (Super simple, but if you need a picture and diagram let me know)
All I am attempting to do is a simple LED test just to turn on one light anywhere on the strip.
My Code:
#include "FastLED.h"
#define NUM_LEDS 50
#define DATA_PIN1 11
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<NEOPIXEL, DATA_PIN1>(leds, NUM_LEDS);
}
void loop() {
leds[5] = CRGB::Red;
FastLED.show();
}
When I upload this, the 6th LED of the strip does not turn on at all, the first 2 LEDs on the strip turn on and flicker between random colors. I have seen many posts on this, some were left unanswered and some said it had something to do with FastLED and something which conflicts w the Arduino IDE? But have been able to find no solution.
Any help is much appreciated.
Cheers