XIAO ESP32C3 two AAA batteries (3V each) connected to the Li-Po terminal

The “HIGH” output of XIAO is 3.3V, so it is better to connect the LED power supply to 3.3V.