aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-02-25 16:34:16 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-02-25 16:34:16 -0500
commit1abf3833b34acf3e376b131a546f82cb2932d25c (patch)
tree779bc62afb47ae32eb9f0453daf22058301d2f8e
parent28222390e03ce2a9023964dbf6c9cb3c5d3b2694 (diff)
Adds capacitor element
-rw-r--r--circuit.pic15
1 files changed, 15 insertions, 0 deletions
diff --git a/circuit.pic b/circuit.pic
index af4c092..b54c8f5 100644
--- a/circuit.pic
+++ b/circuit.pic
@@ -56,3 +56,18 @@ begin
end_
}
batt_len = .05 + padding*2
+
+define cap {
+begin
+#LEFT
+ move down .05; line up .1; move down .05;
+ move right .025
+#TEXT
+ move down text_down "$1"; move up text_down;
+ move up text_up "$2"; move down text_up;
+#RIGHT
+ move right .025 down .05;
+ line up .1; move down .05;
+end_
+}
+cap_len = .05 + padding *2