aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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