From 6cf1aae104c37bea26c8f87af439e64d42d0e338 Mon Sep 17 00:00:00 2001 From: pars iran Date: Wed, 26 Nov 2025 17:25:22 +0330 Subject: [PATCH] update docs --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 53779071..3754b6b7 100644 --- a/README.md +++ b/README.md @@ -132,3 +132,24 @@ set KICAD_SYMBOL_DIR=C:\Program Files\KiCad\share\kicad\symbols 3. **Get help**: Join discussions in our [user forum](https://github.com/devbisme/skidl/discussions) 4. **Convert existing designs**: Use the `netlist_to_skidl` tool to convert KiCad designs to SKiDL + + +## Simple SKiDL Example for Beginners + +Here is a minimal example that shows how to define a resistor and an LED connected in series using SKiDL: + +```python +from skidl import * + +# Create a resistor and LED. +r = Part('device', 'R', value='1k') +led = Part('device', 'LED') + +# Connect resistor to LED. +r[1] += led[1] +r[2] += led[2] + +# Generate the netlist. +generate_netlist() + +