Initial work for G-code sender and more intensive usage of Boost

This commit is contained in:
Alessandro Ranellucci committed 2014-11-26 22:30:25 +01:00
1 parent 43cbad8867
commit 11dd67ab34
1649 files changed
+1860 -1642

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env perl
use strict;
use warnings;
BEGIN {
use FindBin;
use lib "$FindBin::Bin/../lib";
}
use Slic3r;
my $serial = Slic3r::GCode::Sender->new($ARGV[0], $ARGV[1]);
$serial->send($ARGV[2]);
exit;
while (1) {
$serial->send("1");
sleep 1;
$serial->send("0");
sleep 1;
}
__END__