Device...nternal(3pm)

πŸ“¦
version 0.04 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 is 120 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 (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