my@command_list=("G1 Z $ztemp F $zspeed","G1 Z $z F $Z_speed");
send_commands(@command_list);
my$zsleep=$zdelta*$Z_speed*60*1000000; #microseconds, conversion from mm/min to mm/s
my$zsleep=$zdelta*$Z_speed*60*1000000+$overshoot*$Z_speed*60*1000000; #microseconds, conversion from mm/min to mm/s
Time::HiRes::usleep("$zsleep");
Time::HiRes::usleep("$resin_settling_time_us");
}
$fb->clear_screen('ON');
##sendcode- to be adapted/rewritten taken from http://www.contraptor.org/about
#use Device::SerialPort;
#use Time::HiRes qw/sleep/;
#use Slurp;
#Slup each file into a command list
#my @command_list;
#for my $file ( @ARGV ){
# push @command_list, split('\n',slurp $file);
#}
#If your board autoresets when talked to ( like a Sanguino ), you can uncomment the line bellow to get the machine to home position before sending the actual gcode
0 comments on commit
3ee6c28