Device...nternal(3pm)
π Device::USB::PCSensor::HidTEMPer::NTC::Internal π
okay bestie, we're in the Device...nternal(3pm) page from the User Contributed Perl Documentation collection, and it's giving "tiny module, big feelings". This is Device::USB::PCSensor::HidTEMPer::NTC::Internal β the HidTEMPerNTC internal sensor. yes, that name is a whole paragraph, we deal with it π
β¨ VERSION β¨
Version 0.03 β she's little, she's vintage, she works π«Ά
π SYNOPSIS π
None.
(no cap, that's literally what it says β there is no synopsis. main character doesn't need one.)
πΈ DESCRIPTION πΈ
This is the implementation of the HidTEMPerNTC internal sensor. That's it, that's the whole vibe: it's the internal sensor, and this is the code that makes it go.
π CONSTANTS π
MAX_TEMPERATUREβ the highest temperature this sensor can detect, which is120 degrees celsius. she taps out at 120, respect her limits βπ₯MIN_TEMPERATUREβ the lowest temperature this sensor can detect, which is-40 degrees celsius. forty below and she's still clocking in π₯Ά
π¦ METHODS π¦
celsius()β returns the current temperature from the device in celsius degrees. that's the moment. the whole point. the temperature. in celsius. go off π
π INHERIT METHODS FROM π
Device::USB::PCSensor::HidTEMPer::Sensor
she's got a parent and she's inheriting everything from them, as one does π
β 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. (yes, warning β that's what it says, and we're not touching it, it's part of the lore π)
π BUGS π
Please report any bugs or missing features using the CPAN RT tool. spotted something cursed? take it to the RT tool, not to the group chat π«Ά
π₯ FOR MORE INFORMATION π₯
None.
(again β none. she said what she said.)
π AUTHOR π
Magnus Sulland < msulland@cpan.org > β the icon who built her π
π§ ACKNOWLEDGEMENTS π§
Thanks to Jean F. Delpech for the temperature fix that solves the problem with temperatures bellow 0 Celsius. that fix ate and left no crumbs, fr fr π
This code is inspired by Relavak's source code and the comments found at: http://relavak.wordpress.com/2009/10/17/
π 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.
friendly reminder bestie: every constant, method, package name and URL up there is verbatim β copy-paste safe, no paraphrasing allowed in the technical bits π
and that's the whole page!! sign-off time: this was perl v5.40.0, dated 2024-11-30, and it's the Device...nternal(3pm) page β go read your temperature, queen ππβ¨
π¦ 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