sharpie7 / circuitjs1

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

[BUG] Some inputs do not appear in subcircuit #947

Open arashhabibi opened 3 weeks ago

arashhabibi commented 3 weeks ago

Good evening, The 18_bug.txt circuit has two inputs and two outputs. But when I try to make a subcircuit out of it, the instr1 input does not appear. But if I remove the second output (enC) as in 18_nobug.txt, the instr1 input appears again in the subcircuit. Thanks for your help A.H.

18_bug.txt 18_nobug.txt

pfalstad commented 3 weeks ago

hmm, this is because enC and instr1 are the same node (they are connected with wires). The workaround is to separate them with a small resistor.