mirror of
https://github.com/brmlab/lasic.git
synced 2025-06-08 17:23:59 +02:00
render.pl -> bitmap.pl
This commit is contained in:
parent
e5a977ef5e
commit
2f6c80e9e3
1 changed files with 0 additions and 0 deletions
17
perl/bitmap.pl
Executable file
17
perl/bitmap.pl
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# Render a PBM image using Brm::Lasic - pass it as a parameter!
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
use lib qw(.);
|
||||
use Brm::Lasic;
|
||||
use Brm::Lasic::PBM;
|
||||
|
||||
my $lasic = Brm::Lasic->new(dev => '/dev/ttyUSB0');
|
||||
# $lasic->reset();
|
||||
|
||||
my $pbm = Brm::Lasic::PBM->new(lasic => $lasic, file => $ARGV[0]);
|
||||
$pbm->render();
|
||||
$lasic->move(0, 0);
|
Loading…
Add table
Add a link
Reference in a new issue