Permalink
Browse files
added library for highres timer
- Loading branch information...
Showing
with
4 additions
and
4 deletions.
-
+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