Components, digital
logic
Every option, pin and variant of logic, as release
1.3.1
of the compiler states them.
Pins
logic with its default options, pins named.Pin functions
| Pin | Side |
|---|---|
out | right |
A wire names a pin as ID.pin. Rotating the part moves the pins with it; their names stay the same.
Options
Options go in square brackets after the colour, as name=value. Any option not listed here is an error.
Options
| Option | Accepts | Default |
|---|---|---|
type | One of 4 values: high,low,unknown,high-z | low |
outputs | Exactly 1 | 1 |
orientation | One of 4 values: right,down,left,up | right |
Variants
Pin names depend on the selected variant. Each drawing labels its own pins.
type=high out (right)
type=low out (right)
type=unknown out (right)
type=high-z out (right)
Writing one
logic:U1 at (120, 107) #purple