summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-05-13 17:33:59 -0700
committerJulian Blake Kongslie2022-05-13 17:33:59 -0700
commit0b751d2409b9730141deaaaa80ccb4ac34d7aab9 (patch)
treedb996aed926fabd129b9b9acab8982bcdcadd5b5
parentChange the logical sides of a switch to actually work (diff)
downloadlace-0b751d2409b9730141deaaaa80ccb4ac34d7aab9.tar.xz
Slightly more interesting test circuit
Diffstat (limited to '')
-rwxr-xr-xtest.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test.rb b/test.rb
index 6b90423..12d0aa7 100755
--- a/test.rb
+++ b/test.rb
@@ -45,10 +45,11 @@ nl = Lace::Netlist.new do
45 $vcc - led - $gnd 45 $vcc - led - $gnd
46 46
47 $vcc - btn - led("green") - $gnd 47 $vcc - btn - led("green") - $gnd
48 $vcc - btn("orange") - inverter() - led("white") - $gnd
48 49
49 x = $vcc - btn("white") 50 x = $vcc - btn("white")
50 x - led("amber") - $gnd 51 x - net("x") - led("amber") - $gnd
51 x - inverter() - led("blue") - $gnd 52 x - inverter() - net("xbar") - led("blue") - $gnd
52end 53end
53 54
54nl.kicad 55nl.kicad