debian man page for device::usb::pcsensor::hidtemper::sensor

Query: device::usb::pcsensor::hidtemper::sensor

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Device::USB::PCSensor::HidTEMPer::Sensor(3pm)		User Contributed Perl Documentation	     Device::USB::PCSensor::HidTEMPer::Sensor(3pm)

       Device::USB::PCSensor::HidTEMPer::Sensor - Generic sensor class

VERSION
Version 0.02
SYNOPSIS
None
DESCRIPTION
This module contains a generic class that all HidTEMPer sensors should inherit from keeping the implemented methods consistent, and making it possible to use the same code to contact every supported device. CONSTANTS o MAX_TEMPERATURE The highest temperature(Celsius) this sensor can detect. o MIN_TEMPERATURE The lowest temperature(Celsius) this sensor can detect. METHODS o new( $device ) Generic initializing method, creating a sensor object. Input parameter $device = A pre-initialized Device::USB::PCSensor::HidTEMPer::Device that the sensor is connected to. This device will be used to handle communication. o fahrenheit() Reads the current temperature and returns the corresponding value in fahrenheit degrees. o max() Returns the highest temperature(Celsius) the sensor can detect. o min() Returns the lowest temperature(Celsius) the sensor can detect. o celsius() Empty method that should be implemented in each sensor, returing the current degrees in celsius.
DEPENDENCIES
This module internally includes and takes use of the following packages: use Scalar::Util qw/ weaken /; This module uses the strict and warning pragmas.
BUGS
Please report any bugs or missing features using the CPAN RT tool.
FOR MORE INFORMATION
None
AUTHOR
Magnus Sulland < msulland@cpan.org >
ACKNOWLEDGEMENTS
None COPYRIGHT &; LICENSE Copyright (c) 2010 Magnus Sulland This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-07-24 Device::USB::PCSensor::HidTEMPer::Sensor(3pm)
Related Man Pages
digitemp(1) - debian
amdtemp(4) - debian
tm121temp(4) - netbsd
device::usb::bus(3pm) - debian
device::usb::pcsensor::hidtemper::sensor(3pm) - debian
Similar Topics in the Unix Linux Community
CPU temperature
Set temp on Ubuntu to Celsius
temperature censors in linux machine
Max CPU temperature?
Mounting temperature logger on Centos 7.0