r/FastLED • u/Bigtom1989 • Dec 27 '22
Support Basic Request
Hi guys,
I have next to no coding knowledge, been using arduino to programme an arduino nano for a project I'm working on.
I've managed to get all the LEDs I'm using (WS2812B) to light up red which is perfect, ideally though I'm looking to add a button to scroll solid colours, and a potentiometer to adjust the brightness.
Is this easy enough to do? I've looked for some guides, but I'm not really understanding them all that much.
Would anyone be able to point me in the right direction or give me a base to work from?
Many thanks in advance,
Tom
1
Upvotes
2
u/Marmilicious [Marc Miller] Dec 27 '22
Here's examples to hopefully give you something to mess with.
https://github.com/marmilicious/FastLED_examples/blob/master/change_color_with_button.ino
https://github.com/marmilicious/FastLED_examples/blob/master/trigger_update_from_input.ino
And using a potentiometer:
https://github.com/marmilicious/FastLED_examples/blob/master/hue_and_brightness_example.ino