$|=1; # flush stdout
+require 'gpio.pl';
+
open(my $bsdl, '<', $bsdl_file);
while(<$bsdl>) {
if ( m/PIN_MAP_STRING/ ) {
diff_bits($BSR, $bin);
$BSR = $bin;
print_io $bin if $bin ne $last_bits;
+ gpio::pins();
last;
} else {
warn "# in ",dump($_);
print $sock "irscan x300.tap 0x55\n"; # SAMPLE/PRELOAD
print $sock "drscan x300.tap $BOUNDARY_LENGTH 0\n";
} else {
+ gpio::cmd( $cmd );
print $sock "irscan x300.tap 0x55\n"; # SAMPLE/PRELOAD
print $sock "drscan x300.tap $BOUNDARY_LENGTH 0\n";
}