FaderUnit
UNIT FADER is a Slide Potentiometer with color indicator, employ a 35mm slide potentiometer + 14x SK6812 programmable RGB lights. The fader has its own center point positioning, and excellent slide appliances for stable, reliable performance and precise control. The integrated beads support digital addressing, which means you can adjust the brightness and color of each LED light. The product is suitable for lighting, music control, and other applications.
Support the following products:
Micropython Example:
import os, sys, io
import M5
from M5 import *
from unit import FaderUnit
fader = FaderUnit((33,32)) # for core2
fader.update_color()
class FaderUnit
Constructors
Methods
- FaderUnit.set_brightness(br: int)
This method is used to set the brightness of RGB lamp beads, and the setting range is 0-100.
UIFLOW2:
