DOKK / manpages / debian 12 / libdevice-usb-pcsensor-hidtemper-perl / Device::USB::PCSensor::HidTEMPer::TEMPer::Internal.3pm.en
Device::USB::PCSensor::HidTEMPer::TEMPer::Internal(3pm) User Contributed Perl Documentation Device::USB::PCSensor::HidTEMPer::TEMPer::Internal(3pm)

Device::USB::PCSensor::HidTEMPer::TEMPer::Internal - The HidTEMPer internal sensor

Version 0.03

None

This is the implementation of the HidTEMPer internal 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.

METHODS

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.

None

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.

2022-08-26 perl v5.34.0