afazero/tscircuit-starter

Two boards are defined: a 5V red LED indicator with a 220Ω resistor and 100nF decoupling capacitor, plus a 5V RC low-pass filter using a 187Ω resistor and 10µF capacitor for transient SPICE simulation.

Version
1.0.0
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone afazero/tscircuit-starter  # download the package files into ./tscircuit-starter
tsci add afazero/tscircuit-starter    # add it to your project as @tsci/afazero.tscircuit-starter

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

tsconfig.json

{
  "compilerOptions": {
    "target": "ES2020",
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "jsx": "react-jsx",
    "types": ["tscircuit"],
    "strict": false,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "noEmit": true
  },
  "include": ["**/*.tsx", "**/*.ts"]
}