Permalink
Browse files
further work on test environment, changed default display software to…
- Loading branch information...
Showing
with
9 additions
and
5 deletions.
-
+5
−4
modules/printengine.cfg
-
+4
−1
modules/printengine.pl
|
@@ -2,7 +2,7 @@ |
|
|
#Copyright 2016 Robert Koeppl, Fablab Leoben robert.koeppl@fablab-leoben.at
|
|
|
#http://www.fablab-leoben.at
|
|
|
#http://www.github.com/fablab-leoben
|
|
|
-#released under the MIT License
|
|
|
+#released under the GPL v2
|
|
|
#this piece of software is provided with absolutely no warranty
|
|
|
#use at your own risk
|
|
|
log_file = "../log/printengine.log"
|
|
@@ -21,8 +21,8 @@ endstop_Z_min_type="NC" |
|
|
wiper="FALSE"
|
|
|
door_contact="TRUE"
|
|
|
#Defines if there is a door contact to determine if the enclosure is closed
|
|
|
-X_pixels="1192"
|
|
|
-Y_pixels="948"
|
|
|
+X_pixels="912"
|
|
|
+Y_pixels="1140"
|
|
|
Z_speed="1"
|
|
|
#mm/s
|
|
|
Z_max_speed="10"
|
|
@@ -41,7 +41,8 @@ vat_target_temperature="" |
|
|
check_vat_presence="false"
|
|
|
#board specific configuration for Beaglebone Black
|
|
|
virtual_terminal="1"
|
|
|
-display_software="fbi"
|
|
|
+display_software="builtin"
|
|
|
+#default is the builtin functionality support for other methods not implemented yet. fbi as other option planned next
|
|
|
display_device="/dev/fb0"
|
|
|
#PIN asignment
|
|
|
pin_zmin="testpin"
|
|
|
|
@@ -3,7 +3,8 @@ |
|
|
#Copyright 2016 Robert Koeppl, Fablab Leoben robert.koeppl@fablab-leoben.at
|
|
|
#http://www.fablab-leoben.at
|
|
|
#http://www.github.com/fablab-leoben
|
|
|
-#released under the MIT License
|
|
|
+#released under the GPL v2
|
|
|
+#unzip code based on https://gist.github.com/eqhmcow/5389877
|
|
|
#this piece of software is provided with absolutely no warranty
|
|
|
#use at your own risk
|
|
|
#configuration is stored in printengine.cfg, do not use hardcoded configuration in ths perl script, that is bad practice.
|
|
@@ -18,6 +19,8 @@ |
|
|
use Sys::Mmap;
|
|
|
use Graphics::Framebuffer;
|
|
|
use Time::HiRes;
|
|
|
+use IO::Uncompress::AnyUncompress qw(anyuncompress $AnyUncompressError);
|
|
|
+use IO::File ;
|
|
|
#import configuration from configuration file
|
|
|
our $cfg = new Config::Simple();
|
|
|
$cfg->read("printengine.cfg");
|
|
|
0 comments on commit
efc71d6