pfalstad/circuitjs1

How can I make logic gates inside subcircuits use specific voltage level?

AgainPsychoX opened this issue · 0 comments

I set out to analog multiplexer 74HC4052 as I need it myself, and to address issue #76 by the way. In the datasheet, 74HC4052 recognizes HIGH for logic (aka VIH) depending on the VCC:

image

Is there a way to make logic gates inside subcircuits use specific voltage level?

For now it seems like I need to make multiple versions depending on (ideal) VCC I want to target. While it's trivial to me to edit the TXT file (replacing 5\n to 3.3V\n) , it's a bit annoying.

image