use Data::Dump qw( dump );
use Data::Dumper;
+use threads;
+
our @ISA = qw(Exporter);
# Items to export into callers namespace by default. Note: do not export
$wordByte
) = @_;
+ # print "$_\t" foreach @_;
+ # print "\n";
+
my $regData =
( $data << 16 ) + ( $cmd << 8 ) + ( $addr << 1 );
$mimData,
) = @_;
+ # print "$_\t" foreach @_;
+ # print "\n";
+
my $addr =
($chipid << 4) + 0x2;
my $yHigh = $yLow + $ySpan - 1;
- printf("Mark pixels: %d - %d, %d - %d\n",
+ # printf("Mark pixels: %d - %d, %d - %d\n",
+ # $yLow, $yHigh, $xStart, $xStop);
+ printf(" | Pixels: %3d - %3d, %4d - %4d\r",
$yLow, $yHigh, $xStart, $xStop);
+ select()->flush();
mimosis_select_pixel(
ystart => $yLow,
mimosis_register_write( $vcasnReg, $vcasnSet );
- print "DAC: $vcasnSet\n" if $printall;
+ # print "DAC: $vcasnSet\n" if $printall;
+ printf(" | DAC: %s\r", $vcasnRegStr);
mimosis_scan_rows (
ystart => $yStart,