Version 4 SHEET 1 1076 680 WIRE 320 368 320 320 WIRE 320 320 528 320 WIRE 528 320 528 368 WIRE 528 448 528 560 WIRE 320 560 320 448 WIRE 576 416 800 416 WIRE 800 448 800 416 WIRE 800 416 864 416 WIRE 800 528 800 560 FLAG 320 560 0 FLAG 864 416 out IOPIN 864 416 Out FLAG 800 560 0 FLAG 528 560 0 SYMBOL potentiometer 512 352 R0 SYMATTR InstName U1 SYMATTR Value Rtot=10K wiper={w} SYMBOL voltage 320 352 R0 SYMATTR InstName V1 SYMATTR Value 10V SYMBOL res 784 432 R0 SYMATTR InstName R1 SYMATTR Value 10k TEXT 312 264 Left 0 !.op TEXT 304 216 Left 0 !.include potentiometer.sub TEXT 296 -320 Left 0 ;A POTENTIOMETER\n \nThe potentiometer example requires two external files: \nSymbol: potentiometer.asy\nSubcircuit: potentiometer.sub\n \nPossible places for the symbol file: potentiometer.asy\na) Installation path of LTSPICE, e.g. ...\\lib\\sym or ...\\lib\\sym\\Misc\nb) in the directory of your schematic\n \nPossible places for the subcircuit file: potentiometer.sub\na) Installation path o9f LTSPICE, e.g. ...\\lib\\sub\nb) in the directory of your schematic\n \nIt's necessary to have an extra Spiceline in your schematic.\n.include potentiometer.sub TEXT 304 168 Left 0 !.step param w 0 1 0.01 TEXT 632 168 Left 0 ;Step the wiper from 0 to 1(=100%)