diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-02-25 16:34:50 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-02-25 16:34:50 -0500 |
commit | b7d678932c714aa1a4712a162974d7d610fc37b9 (patch) | |
tree | c450fb731146b7307c8a7d906026ebc6fb38e466 | |
parent | 1abf3833b34acf3e376b131a546f82cb2932d25c (diff) |
Adds resistor element
-rw-r--r-- | circuit.pic | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/circuit.pic b/circuit.pic index b54c8f5..3edde93 100644 --- a/circuit.pic +++ b/circuit.pic @@ -71,3 +71,25 @@ begin end_ } cap_len = .05 + padding *2 + +define res { +begin +#LEFT + line up .05 right .03 + line down .1 right .03 + + line up .1 right .03 + line down .05 right .015 +#TEXT + move down text_down "$1"; move up text_down + move up text_up "$2"; move down text_up +#RIGHT + line down .05 right .015 + + line up .1 right .03 + line down .1 right .03 + + line up .05 right .03 +end_ +} +res_len = (0.03 * 7) + padding *2 |