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 →
circuit·§ IEEE 315
↘ preview
100%
Pull-up + push button Circuit schematic with 5 components Pull-up + push button +V15VR110k?switchC1100n
UTF-8 · LF · 5 lines · 111 chars✓ parsed·0.5 ms·4.3 KB SVG

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