Device...xternal(3pm)
π Device::USB::PCSensor::HidTEMPer::TEMPer2::Internal π
okay bestie, so this is a page from the User Contributed Perl Documentation (that's the 3pm manual, iykyk) and it's about the HidTEMPer2 external sensor. tiny module, big vibes. let's get into it β¨
πΈ NAME πΈ
Device::USB::PCSensor::HidTEMPer::TEMPer2::Internal β literally the HidTEMPer2 external sensor. that's the whole name, that's the whole job π
β VERSION β
Version 0.01. baby's first version, and she ate π
π¦ SYNOPSIS π¦
None. yeah bestie, there's nothing here. no example code, no nothing. it's giving minimalism π
π DESCRIPTION π
This is the implementation of the HidTEMPer2 external sensor. like, the actual guts of it. the real one. main character energy fr fr π₯
β¨ CONSTANTS β¨
MAX_TEMPERATUREβ the highest temperature this sensor can detect, which is 120 degrees celsius. she's hot, she's got limits π₯΅MIN_TEMPERATUREβ the lowest temperature this sensor can detect, which is -40 degrees celsius. cold girl winter arc βοΈ
π METHODS π
celsius()β returns the current temperature from the device, in celsius degrees. the moment you've all been waiting for, the temperature reveal π‘οΈβ¨
π INHERIT METHODS FROM π
Device::USB::PCSensor::HidTEMPer::Sensor
she's not doing it all alone, she's inheriting from the Sensor class, as she should π«Ά
π DEPENDENCIES π
This module internally includes and takes use of the following packages:
use Device::USB::PCSensor::HidTEMPer::Sensor;
and also β this module uses the strict and warning pragmas. safety first, no chaos code, we love a responsible queen π
π BUGS π
Please report any bugs or missing features using the CPAN RT tool. not me asking you to file a ticket, but like, please do, it's how things get fixed bestie π
π FOR MORE INFORMATION π
None. that's it. that's the tea. nothing else to add π§
πΈ AUTHOR πΈ
Daniel Fahlgren
(Based on code by Magnus Sulland < msulland@cpan.org >)
shoutout to both of them, iconic collab honestly π
π¦ ACKNOWLEDGEMENTS π¦
Thanks to Jean F. Delpech for the temperature fix that solves the problem with temperatures bellow 0 Celsius. absolute lifesaver, the below-zero temps were NOT cooperating before π₯Άπ
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/
credit where credit is due, we stan inspiration chains π
π COPYRIGHT & LICENSE π
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.
fr fr, it's Perl-licensed, go wild (within the same terms obviously) π«Ά
π cute sign-off π
that's the whole page bestie, and just so you know where it came from: this was generated by perl v5.40.0 on 2024-11-30, and the original footer just said Device...xternal(3pm) which is the most abbreviated thing i've ever seen and honestly? kind of a mood. go measure some temperatures, you've got this π
β¨π‘οΈ
π¦ where this page comes from
- debian trixie: libdevice-usb-pcsensor-hidtemper-perl 2:0.04-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libdevice-usb-pcsensor-hidtemper-perl 2:0.04-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libdevice-usb-pcsensor-hidtemper-perl 2:0.04-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms