MicroPython | 1 min | 1693
I wish you a Merry Christmas!!! and to celebrate this evening I've just uploaded a new repository for the Wipy 2.0. Some Christmas lights using the WS2812B!
Things used in this project
boot.py: add your ssid, wlan password, and configure the ip address. You need this file if you want to connect the Wipy 2.0 to your router, otherwise you can avoid copying it and the Wipy remains as an wlan access point.
main.py: you find some options here. The most important option is
ledNumber. Set this value correctly.
dimmer_step: increase/decrese step by dimming (default: 0.05)
dimer_min_level: min dimming level (default: 65%)
sleep_time: time in milliseconds to wait between dimming steps (default: 250ms)
rotate_max: max step for rotating (default: 50 steps)
sleep_time_fast: time in milliseconds to wait between rotating steps (default: 150ms)
You can also change the dimming colors:
main.py, and ...
- the rotating colors
WS2812B LED STRIP WIPY 2.0
green cable leds
G22from the extension board)
black cable leds
More info & help
- Wipy2.0: https://docs.pycom.io/pycom_esp32/pycom_esp32/wipy2.html
- WS2812B: https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf
I am looking forward for a better next year! and remember to be happy is the greatest wish in life.