sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.35k stars 642 forks source link

feature request - Multiple pole and multiple throw switches #746

Closed danbisson closed 2 years ago

danbisson commented 2 years ago

Is it possible to add multiple pole and multiple throw switches? i.e. double pole, double throw.

pfalstad commented 2 years ago

Yes. Under Passive Components, select Add SPDT Switch. That will create a 2 throw switch. Right click it, Edit, you can set the # of Throws to whatever you want.

For multi-pole switches, create multiple SPDT switches, right click each one, Edit, change the switch group to the same nonzero number (for example, 1).

danbisson commented 2 years ago

Thank you!