Demonstrating PWM using potentiometer and LED

The potentiometer value is read with the WeMos A0 analig input. The value is written to the Led output as PWM signal dimming the LED.