LED Control with Potentiometer

WeChat_20240915164229.mp4

image.png

Using Map to connect analog Value and LED brightness.

Question:

How to reduce or eliminate the blinking when brightness is 0 ?

WeChat_20240916173618.mp4