hi all, I have an arduino uno and 144 dotstar and performed adafruit’s strandtest successfully. I would like to use fastled library for more ideas but don’t know enough programming to make a fastled example work. Any suggestions, I am sure its easy?
Download and install the FastLED library for your Arduino IDE. Then try out some of the pre-made examples. See the sidebar on this forum if you have any technical support questions.
How far have you got? Once the library is installed it’s mostly just a case of selecting the example and setting up things like data pin, clock pin, the number of LED’s and the chipset your using.
All that is generally defined at the top of the code.
When I change the chipset from WS2811 to APA102 I get an error message
highlighting that line.
These are some of the things I see and change in fastled examples for 144
dotstar on uno:
#define CHIPSET APA102
#define NUM_LEDS 144
#define LED_PIN 11
Where is the data in and clock in pin?
Still not having any luck with fastled examples.
Thank you!
In short, I want to create a design I saw at burning man one year where LEDs
would fade, similar to the beginning of adafruit’s strandtest for neopixels.
If you know of something similar, ie. ‘fading’ and colorspectrum fading or
crossfading, I am interested. Thank you again.
I think its called rainbow cycle.
If it doesn’t recognise the APA102 description, you may not be running the latest, 3.1, version.
On the GitHub page, where it says ‘master’ on the branch drop-down, select 3.1 and download that.
Are you commenting the appropriate lines ?
LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // WS2812/WS2812B
LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2801 or APA102
I still forget to change these all the time
@Nicholas- Feel free to post your current code on http://pastebin.com.
In the meantime, it sound like you’re experiencing the issue that Dave Newman is mentioning.
thank you all, looks like newman was right, you have to define data, clock, led type and led num in all the relevant parts and then again and uncomment code and comment other code thank you. do you guys have any more cool sketches to fiddle around with on this so much fun?
I’ve got some at https://github.com/atuline/FastLED-Demos
Otherwise, just search http://pastebin.com or http://github.com for ‘FastLED’.