Skip to main content

Example

Here is what circuitscript looks like

from "std" import *

v3v3 = supply("3V3") # create 3V3 supply
gnd = dgnd() # create gnd

at v3v3
wire down 100 right 100
add res(100)
wire right 100 down 100
add led("green") pin 2

wire down 100
to gnd
line 6:13V3Component R1: line 8:1R1100Component D1: line 10:112D1greenline 13:4GND