NAME

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

SYNOPSIS

use Device::USB::TEMPer1F;

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

DESCRIPTION

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

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

AUTHOR

Rolf Rost, <pilgrim@rolfrost.de>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Eolf 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.