Schematex
circuit·IEEE 315 / IEC 60617·electronics, education·complexity 1/3·since v0.1.0

Pull-up resistor circuit with dir= orientation hint

A netlist-mode circuit that uses the optional dir= orientation hint to draw the pull-up resistor vertically, showing lightweight layout control on top of automatic placement.

For the embedded engineer

Open in Playground →
schematex§ source-defined
Pull-up + push button Circuit schematic with 5 components + V15V R110k ?switch C1100n Pull-up + push button
5 lines · 111 chars
✓ parsed·0.0 ms·0 B
100%

Scenario

An embedded engineer documents a classic active-low input: a pull-up resistor holds the signal high, a push button pulls it to ground, and a small capacitor debounces it. The connectivity is written as a SPICE-style netlist — the engine places everything from the node names — and one optional hint refines the look.

Annotation key

How to read

R1 ties sig up to vcc (drawn vertically thanks to dir=down). SW1 and the debounce cap C1 both go from sig to ground, so the engine recognises them as shunt legs and drops them beneath the node. Pressing the button shorts sig to ground, pulling the input low.

Circuit syntax