30 Sep 2015 22:28:59 UTC
- Distribution: Device-Pertelian
- Module version: 0.03
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (0)
- Testers (500 / 0 / 0)
- KwaliteeBus factor: 1
- 94.20% Coverage
- License: gpl_3
- Activity24 month
- Download (31.53KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionKAPPA Алексей Капрановand 2 contributors
- Alex Kapranoff, C<< <alex at kapranoff.ru> >>
- Alex Kapranoff
- COPYRIGHT & LICENSE
Device::Pertelian - a driver for the Pertelian X2040 USB LCD
If you have a Pertelian X2040 USB LCD screen, then you can do things with it.
use Device::Pertelian; my $lcd = Device::Pertelian->new('/dev/ttyUSB0'); $lcd->clearscreen(); # write to the top row $lcd->writeline(0, "Hello, world!"); ...
The constructor accepts one parameter, $device, which is a path in /dev. You may find it out from your logs.
This function does a simple thing -- clears all the 4 lines of the screen.
This function takes two parameters, $row and $text. The screen has 4 rows, so you may pass a number from 0 to 3 as $row and the $text should be under 20 characters, that is the width of the screen.
<alex at kapranoff.ru>
Please report any bugs or feature requests to
bug-device-pertelian at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Device-Pertelian. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
See http://www.ekenrooi.net/lcd/lcd.shtml, http://web.archive.org/web/20100903020330/http://developer.pertelian.com/index.php?option=com_content&view=section&id=3&Itemid=9 and the pertd software that vanished with the main website pertelian.com.
Copyright 2008 Alex Kapranoff, all rights reserved.
This program is released under the following license: GPL version 3
In the included pertd.tgz archive there is code by: Frans Meulenbroeks, Ron Lauzon, Pred S. Bundalo, Chmouel Boudjnah, W. Richard Stevens.
The code in pertd.tgz is either in Public Domain or available for distribution in unmodified form. See the relevant files.
Module Install Instructions
To install Device::Pertelian, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Device::Pertelian
For more information on module installation, please visit the detailed CPAN module installation guide.