potentiometers.lib 130 B

1234567
  1. .subckt simple_potentiometer 1 2 3
  2. R1 1 2 {(Rpot*wiper)+1m}
  3. R2 2 3 {(Rpot*(1-wiper))+1m}
  4. .param Rpot=100k
  5. .param wiper=0.5
  6. .ends