From 1abf3833b34acf3e376b131a546f82cb2932d25c Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 25 Feb 2019 16:34:16 -0500 Subject: Adds capacitor element --- circuit.pic | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.1