FreeCalypso > hg > freecalypso-schem2
diff venus/src/primitives @ 33:1d2b57d4f1c9
intnoconn approach to charging current sense resistor
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 22 Nov 2021 03:03:15 +0000 |
parents | d0b6c4915397 |
children | 971c05950675 |
line wrap: on
line diff
--- a/venus/src/primitives Sun Nov 21 20:20:38 2021 +0000 +++ b/venus/src/primitives Mon Nov 22 03:03:15 2021 +0000 @@ -72,3 +72,11 @@ basic_LED mapped_pins (A, C); misc_diode mapped_pins (A, C); switch_2pin numpins 2; + +/* + * Resistor footprint with two extra "virtual pins" for sensing - see + * ../doc/Charging-circuit for explanation. + */ + +resistor_with_sense mapped_pins (side1_current, side1_sense, + side2_current, side2_sense);