Source code below! Arduino FastLED Tutorial introduces FastLED and provides connection info and programming steps to get a WS2812B rainbow up and running in one episode.
All coding is shown live in Visual Studio Code, and results are displayed instantly on the ChipCam! Carl the cameraman assists.
Links to parts used in this episode:
IP65 Silicon Waterproof version of 5V BTF Light Strip.
https://amzn.to/3dKADNr
Infinity Mirror that we will modify to build our own:
https://amzn.to/3f0ibAz
Link to MakerFocus ESP32 Module with 8M of PSRAM:
https://amzn.to/2UnjbXC
DC Power Connectors to simplify hookups:
https://amzn.to/3dRuIWJ
That swanky stainless steel USB meter I use:
https://amzn.to/3dUCYVY
And a nice non-stainless version at 1/3 the price:
https://amzn.to/3hiljda
The above are Amazon affiliate links with commission at the wholesale level (ie: no increased cost to you). Here is a copy of the completed main.cpp file from the end of the video:
https://pastebin.com/xXJ0wTku
Watch video 04-FastLED with Arduino Tutorial Introduction - How to Code for RGB LED Strips (WS2812B) online without registration, duration hours minute second in high quality. This video was added by user Dave's Garage 11 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 131,319 once and liked it 5.1 thousand people.