Device::USB::PCSensor::HidTEMPer::TEMPer2::Internal - The HidTEMPer2 internal sensor
Version 0.01
None
This is the implementation of the HidTEMPer2 internal sensor.
MAX_TEMPERATURE
The highest temperature(120 degrees celsius) this sensor can detect.
MIN_TEMPERATURE
The lowest temperature(-40 degrees celsius) this sensor can detect.
celsius()
Returns the current temperature from the device in celsius degrees.
Device::USB::PCSensor::HidTEMPer::Sensor
This module internally includes and takes use of the following packages:
use Device::USB::PCSensor::HidTEMPer::Sensor;
This module uses the strict and warning pragmas.
Please report any bugs or missing features using the CPAN RT tool.
Daniel Fahlgren
(Based on code by Magnus Sulland < msulland@cpan.org >)
Thanks to Jean F. Delpech for the temperature fix that solves the problem with temperatures bellow 0 Celsius.
This code is inspired by Relavak's source code and the comments found at: http://relavak.wordpress.com/2009/10/17/ temper-temperature-sensor-linux-driver/
Copyright (c) 2010-2011 Magnus Sulland
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Device::USB::PCSensor::HidTEMPer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::USB::PCSensor::HidTEMPer
CPAN shell
perl -MCPAN -e shell install Device::USB::PCSensor::HidTEMPer
For more information on module installation, please visit the detailed CPAN module installation guide.