From: Dan White Date: Sun, 5 Feb 2012 05:40:45 +0000 (-0600) Subject: djboxsym: add tristate pin option X-Git-Tag: calibrations~270 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=cb33a274298463989ec5e1b9b9025f711ad7de53;p=430.git djboxsym: add tristate pin option --- diff --git a/sch-pcb/sym/djboxsym b/sch-pcb/sym/djboxsym index ed00c96..2f3da39 100755 --- a/sch-pcb/sym/djboxsym +++ b/sch-pcb/sym/djboxsym @@ -131,7 +131,7 @@ while (<>) { $pinside{$pin} = $side; $pintype{$pin} = "pas"; next if $side eq "nc"; - if ($rest =~ /^([!>iop]+) (.*)/) { + if ($rest =~ /^([!>iopt]+) (.*)/) { $flags = $1; $pinlabel{$pin} = $2; $bubble{$pin} = 1 if $flags =~ /!/; @@ -140,6 +140,7 @@ while (<>) { $pintype{$pin} = "out" if $flags =~ /o/; $pintype{$pin} = "pwr" if $flags =~ /p/; $pintype{$pin} = "io" if $flags =~ /io/; + $pintype{$pin} = "tri" if $flags =~ /t/; } else { $pinlabel{$pin} = $rest; }