// Howdy 👋.
//
// This is where you can create powerful part automations like resistors that tell you when too much current is flowing through them
// You can also create your own flexible parts, like generics (https://docs.flux.ai/Introduction/generic-parts)
//
// If you are new to writing code in Flux make sure to check out our get started docs: https://docs.flux.ai/reference/introduction
//
// We also have a Flux Slack Community in case you need help: https://www.flux.ai/p/slack-community
//
// To infinity and beyond 🚀
from skidl import *
from skidl.pyspice import to_netlist
# Create a new schematic for the stereo preamp circuit
# First, we reset any existing circuits
reset()
# Define resistors for the left channel
R1L = Part("Device", "R", footprint = "Resistor_SMD:R_0805", value = "10k")
R2L = Part("Device", "R", footprint = "Resistor_SMD:R_0805", value = "1k")
# Define resistors for the right channel