Hardware::iButton::Device

Hardware::iButton::Device is a Perl object to represent iButtons.
Download

Hardware::iButton::Device Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Brian Warner
  • Publisher web site:
  • http://search.cpan.org/~scott/Hardware-iButton-0.03/lib/Hardware/iButton/Connection.pm

Hardware::iButton::Device Tags


Hardware::iButton::Device Description

Hardware::iButton::Device is a Perl object to represent iButtons. Hardware::iButton::Device is a Perl object to represent iButtons.SYNOPSIS use Hardware::iButton::Connection; $c = new Hardware::iButton::Connection "/dev/ttyS0"; @b = $c->scan(); foreach $b (@b) { print "id: ", $b->id(), ", reg0: ",$b->readreg(0),"n"; }This module talks to iButtons via the "active" serial interface (anything using the DS2480, including the DS1411k and the DS 9097U). It builds up a list of devices available, lets you read and write their registers, etc.The connection object is an Hardware::iButton::Connection. The main user-visible purpose of it is to provide a list of Hardware::iButton::Device objects. These can be subclassed once their family codes are known to provide specialized methods unique to the capabilities of that device. Those devices will then be Hardware::iButton::Device::DS1920, etc. Requirements: · Perl


Hardware::iButton::Device Related Software