Hi everyone!
Sorry for the silly question about my problem. Unfortunately I couldn't find a proper solution.

Here is my basic circuit. My led is metal button's led which works with 12-24V.
When i turn mosfet on with logic high from arduino, everything works fine. I read 24v from Vled with multimeter.
But when i turn mosfet off with logic low from arduino, (here is my problem) led flickers slightly. I read 2.4v from Vled with multimeter.
I tried 2 mosfets IRLML0030TRPBF and PJA3440. I had same results. I tried 1k, 10k and 100k on R1, 470ohm and 1k on R2. It changes Vgs between 3.8v-4.5v.
How can i solve this problem?
Best Regards
Sorry for the silly question about my problem. Unfortunately I couldn't find a proper solution.

Here is my basic circuit. My led is metal button's led which works with 12-24V.
When i turn mosfet on with logic high from arduino, everything works fine. I read 24v from Vled with multimeter.
But when i turn mosfet off with logic low from arduino, (here is my problem) led flickers slightly. I read 2.4v from Vled with multimeter.
I tried 2 mosfets IRLML0030TRPBF and PJA3440. I had same results. I tried 1k, 10k and 100k on R1, 470ohm and 1k on R2. It changes Vgs between 3.8v-4.5v.
How can i solve this problem?
Best Regards