Hi,
Thank you for a great library. It works a charm on a string of WS2812B leds that I setup around my TV and Fireplace. Will this library also work on a string of 5050 leds, they have a +12v and independent RGB pins? I have 5 meters of these that I bought before I new much about LEDs.
Thank you,
Mike
See the AnalogOutput example.
#include <FastLED.h>
// Example showing how to use FastLED color functions
// even when you're NOT using a "pixel-addressible" smart LED strip.
//
// This example is designed to control an "analog" RGB LED strip
// (or a single RGB LED) being driven by Arduino PWM output pins.
// So this code never calls FastLED.addLEDs() or FastLED.show().
//
// This example illustrates one way you can use just the portions
// of FastLED that you need. In this case, this code uses just the
// fast HSV color conversion code.
//
// In this example, the RGB values are output on three separate
// 'analog' PWM pins, one for red, one for green, and one for blue.
#define REDPIN 5
#define GREENPIN 6
#define BLUEPIN 3
This file has been truncated. show original
Needless to say you will need to add MOSFETs to power the 5050.
Thank you for the quick reply. I will look at this.