Capability

Circuit workspace

The Circuit view keeps wiring assumptions visible while the project evolves. It can infer common parts from script code and use `xobit-circuit` comments when a physical part cannot be inferred safely.

Reading The Circuit View

01

Check the generated wiring

The diagram is a visual check against the real build. It should make pin choices, parts, power assumptions, and risky gaps easier to notice before you trust the setup.

Comment Pattern

Pin variables and setup calls give Circuit clues, but a plain number cannot always prove the physical part. Add a short comment near the variable when you know the role.

var stripPin = 16; // xobit-circuit: IO16 ledStrip
var relayPin = 18; // xobit-circuit: IO18 relay
var knobPin = 34; // xobit-circuit: IO34 potentiometer

Related Reference