Rolf Rost
and 1 contributors

NAME

Device::USB::TEMPer1F - Perl extension for USB PCSensor TEMPer1F

SYNOPSIS

  use Device::USB::TEMPer1F;

  Either
  my $temper = Device::USB::TEMPer1F->new or die $@;
  print $temper->fetch; # 23.50

  Or
  print Device::USB::TEMPer1F->fetch;
  

DESCRIPTION

    This device must be configured for using libusb.

METHODS

    The API is very easy and has two methods only, as you can see below.
    

CONSTRUCTOR

  my $temper = Device::USB::TEMPer1F->new 
   or die $@;

  If the device was not found or other errors occurred, new() throws an exception and $@ contains the corresponding message.
  

FETCH

  The fetch() method returns the temperature in degrees celsius.

SEE ALSO

  libusb  
  Device::USB
  ppm install http://rolfrost.de/Device-USB.ppd
  ppm install http://rolfrost.de/Device-USB-PX1674.ppd
  ppm install http://rolfrost.de/Device-USB-TEMPer1F.ppd

AUTHOR

Rolf Rost, <pilgrim@rolfrost.de>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Rolf Rost

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.16.3 or, at your option, any later version of Perl 5 you may have available.