I need to set the resistor value based on the voltage or current in the circuit. I would like to use an IF statement for multiple values.
IF(Vin<1, 1, 2).
Eventually I need to go to nested IF statements but I'm trying to get this one example to work.
The Vin is the net name of a voltage in the circuit.
What is the correct way to do this?