Skip to content
Permalink
Browse files

added library for highres timer

  • Loading branch information...
rkoeppl committed May 5, 2016
1 parent 31ac5fa commit 4a66eec1a86839c56caab103a8697dcf39eba8b6
Showing with 4 additions and 4 deletions.
  1. +4 −4 modules/printengine.pl
@@ -17,6 +17,7 @@
use File::Which;
use Sys::Mmap;
use Graphics::Framebuffer;
use Time::HiRes;
#import configuration from configuration file
our $cfg = new Config::Simple();
$cfg->read("printengine.cfg");
@@ -195,9 +196,7 @@
die "unknown display software in configuration!\n";
}
######testcode framebuffer access
my $fb = Graphics::Framebuffer->new(
FB_DEVICE=>$display_device
);
my $fb = Graphics::Framebuffer->new( FB_DEVICE=>$display_device );
$fb->cls();
$fb->blit_write(
$fb->load_image(
@@ -217,5 +216,6 @@
}
)
);

sleep 3;
$fb->cls();

0 comments on commit 4a66eec

Please sign in to comment.
You can’t perform that action at this time.