鼠标单击开关切换开合状态
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-01-network-circuit.txt
注: 悬空电压仍处在红色高电平状态的原因参加第六章相关例子中的解释
读者可自行添加接地避免此问题
下同.
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-02-relay-switch.txt
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-03-relay-switch-with-ground.txt
https://cc.xiaogd.net/?startCircuitLink=https://book.xiaogd.net/code-hlchs-examples/assets/circuit/code-hlchs-ch11-04-relay-switch-one-terminal-voltage.txt