Permalink
Browse files

cleanup

  • Loading branch information...
1 parent 9e13ecd commit 953dd374a9ff7d752ce51680219b1833c202e61a @rkoeppl rkoeppl committed May 8, 2016
Showing with 4 additions and 8 deletions.
  1. +4 −8 modules/printengine.pl
View
@@ -259,14 +259,9 @@
my $resin_settling_time_us=1000*$resin_settling_time;#conversion to microseconds
sleep 10;
-#print @pics_sorted;
-
#builtin framebuffer access
- my $fb = Graphics::Framebuffer->new( FB_DEVICE=>$display_device, SPLASH=>0 );
-#my ($width,$height,$bits_per_pixel) = $fb->screen_dimensions();
-#say "X=$width,Y=$height,colorbits=$bits_per_pixel"; #debug use
-#sleep 10;
+my $fb = Graphics::Framebuffer->new( FB_DEVICE=>$display_device, SPLASH=>0 );
foreach(@pics_sorted){
$fb->clear_screen('OFF');
Time::HiRes::usleep("$resin_settling_time_us");
@@ -287,7 +282,8 @@
}
)
);
-
+Time::HiRes::usleep("$exposure_time_us");
+$fb->clear_screen('OFF');
}
- Time::HiRes::usleep("$exposure_time_us");
+
$fb->clear_screen('ON');

0 comments on commit 953dd37

Please sign in to comment.