Device...nternal(3pm)

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

πŸ’– NAME πŸ’–

okay so bestie, welcome to Device::USB::PCSensor::HidTEMPer::TEMPer2::Internal β€” it's the HidTEMPer2 internal sensor module, and it's exactly as niche and iconic as it sounds. The manual page header calls it Device...nternal(3pm) because, like, the terminal is only so wide, but we know the real name. πŸ‘‘


✨ VERSION ✨

Version 0.01 β€” baby's first release, and she ate. πŸΌπŸ’…


🌸 SYNOPSIS 🌸

None.

(yeah. no synopsis. nothing. she contains multitudes but not a synopsis. it's giving mysterious. πŸ¦‹)


πŸŽ€ DESCRIPTION πŸŽ€

This is the implementation of the HidTEMPer2 internal sensor. That's the whole vibe. She reads the temperature, she tells you the temperature, she goes home. 🌑️✨

🧊 CONSTANTS 🧊

  • MAX_TEMPERATURE β€” the highest temperature this sensor can detect: 120 degrees celsius. That's scorching, bestie. πŸ”₯
  • MIN_TEMPERATURE β€” the lowest temperature this sensor can detect: -40 degrees celsius. literally antarctic energy. πŸ₯Ά

🫢 METHODS 🫢

  • celsius() β€” returns the current temperature from the device, in celsius degrees. that's it, that's the method, and she's perfect. πŸŒ‘οΈπŸ’–

πŸ’œ INHERIT METHODS FROM πŸ’œ

  • Device::USB::PCSensor::HidTEMPer::Sensor

she's not doing all the work herself, okay? she's standing on the shoulders of a whole parent class. slay. πŸ‘‘


🌈 DEPENDENCIES 🌈

This module internally includes and takes use of the following packages:

use Device::USB::PCSensor::HidTEMPer::Sensor;

Also, this module uses the strict and warnings pragmas β€” because we are responsible queens who write clean code. πŸ’…βœ¨


πŸ’€ BUGS πŸ’€

Please report any bugs or missing features using the CPAN RT tool. not in my DMs, not in the group chat, use the tool bestie. πŸ™ˆ


πŸ¦‹ FOR MORE INFORMATION πŸ¦‹

None.

(again. nothing. she's private like that. πŸŽ€)


⭐ AUTHOR ⭐

Daniel Fahlgren

(Based on code by Magnus Sulland < msulland@cpan.org >)

two icons, one module. we love a collab. 🫢


🌸 ACKNOWLEDGEMENTS 🌸

Thanks to Jean F. Delpech for the temperature fix that solves the problem with temperatures bellow 0 Celsius. the way that one bug was just living in the negatives... not anymore. thank you Jean. πŸ₯ΉπŸ’–

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/

go read the lore if you want, iykyk. πŸ“–βœ¨


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.

so like. free. open. iconic. use her, remix her, respect the license. periodt. πŸ’…πŸŒˆ


and that's the whole page bestie!! this manual was served up by perl v5.40.0, dated 2024-11-30 β€” shoutout to the toolchain for keeping her looking this good. πŸŽ€βœ¨πŸ’–
πŸ“¦ where this page comes from