The fun start with building the Christmas Tree. It took me like 1,5 hour to cut the wires in length, cut the legs of LEDs, breaking the PCB in pieces (be careful, I had to use a cutter to not break the PCB itself) and of-course the soldering. Before I soldered the wires between the PCBs, I checked with a programmed Nano ESP32 if the LEDs worked before I connected the next layer.
When using the Nano ESP32 there are some links for microPython but I was not able to get it to work.
I used Arduino 1.8.x with the Adafruit Neopixels library. But to be able to program the example `strandtest` I had to do 2 things. First, install via boardmanager the Arduino Nano ESP32. There was already one installed but it cannot program the Nano ESP32. After installing the Arduino Nano ESP32 this issue was fixed.
Second one is to set Tolols->Pin numbering->By GPIO Number (legacy) and change the define for LED_PIN to 9.
#define LED_PIN 9 // GPIO9.
When done, select the correct com port and program the Nano ESP32 processor.
The example is a good starting point for your own program. I added the potmeter for speed and the dip switches tor select wich pattern to show.
I am going to add an LDR to adjust the brightness of the LEDs (make sure the LDR has no (in)direct light path with the LEDs).