sorry, B16M mosfet output can't use for PWM output, because of ESP32-S3 conenct with i2c PCF8575 extender chip , then connect with 10A mosfet. Use ON/OFF is better. But B16M have free GPIOs on board, that can use for PWM output, just without driver.
if you want to use dimmer , suggest you chose KC868-AP or KC868-D16 dimmer controller.
if you want to use dimmer , suggest you chose KC868-AP or KC868-D16 dimmer controller.