Help me I want to programe the code in Node MCU with arduino IDE

I recieved the value from light sensor at A0 Pin in Node MCU. I want to use this value for automatic dimmig lighting by adjusted Duty cycle of PWM at D1 Pin in Node MCU. How to program the code and I want to use them with Blynk App ?

How to connect Vitual pin to real pin on node MCU?

1 Like

Try this link

1 Like

Oh that’s great Thak you very much.