I want to design LED switching circuit using N-Channel(BSS123) MOSFET [Datasheet. Please find the supply details in the image.
What formula can be used to calculate the value of R1?
How VDS voltage impact here? How can find that? What is the formula for that?
https://i.stack.imgur.com/ZWX5X.jpg](https://www.apogeeweb.net/circuitry/bss123-mosfet-pinout-circuit-datasheet-application.html)