Esp32 blynk 2.o

What’s up guys.
How can I make a pwm to regulate the brightness of a led through blynk 2.0?

Yep, use virtual pins in Blynk.


I have seen many examples but it is the previous version of blynk.
Could you share the code?

It works the same way in Blynk IoT as it did in Legacy.