logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Device::USB::PCSensor::HidTEMPer::TEMPer2::Internal - The HidTEMPer2 external sensor

Acknowledgements

       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/

Author

       Daniel Fahlgren

       (Based on code by Magnus Sulland < msulland@cpan.org >)

Bugs

       Please report any bugs or missing features using the CPAN RT tool.

Dependencies

       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.

Description

       This is the implementation of the HidTEMPer2 external sensor.

   CONSTANTS
       •  MAX_TEMPERATURE

          The highest temperature(120 degrees celsius) this sensor can detect.

       •  MIN_TEMPERATURE

          The lowest temperature(-40 degrees celsius) this sensor can detect.

   METHODScelsius()

          Returns the current temperature from the device in celsius degrees.

For More Information

       None

Inherit Methods From

       Device::USB::PCSensor::HidTEMPer::Sensor

Name

       Device::USB::PCSensor::HidTEMPer::TEMPer2::Internal - The HidTEMPer2 external sensor

Synopsis

       None

Version

       Version 0.01

See Also