Device...xternal(3pm)

๐Ÿ“ฆ
version 0.04 ยท 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

โœจ NAME โœจ

okay so bestie, welcome to Device::USB::PCSensor::HidTEMPer::NTC::Internal โ€” she's the HidTEMPerNTC external sensor ๐Ÿ’… and yeah the manual page is literally titled Device...xternal(3pm) because the full name is too iconic to fit. iykyk.


๐ŸŒธ VERSION ๐ŸŒธ

Version 0.02 โ€” baby numbers, but she's doing the most ๐Ÿซถ


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

None

no synopsis, bestie. she's mysterious like that ๐Ÿ’€


๐Ÿ’– DESCRIPTION ๐Ÿ’–

This is the implementation of the HidTEMPerNTC external sensor. that's the whole vibe. โœจ

๐ŸŒˆ CONSTANTS ๐ŸŒˆ

  • MAX_TEMPERATURE โ€” the highest temperature this sensor can detect: 150 degrees celsius ๐Ÿ”ฅ like girl that's a lot
  • MIN_TEMPERATURE โ€” the lowest temperature this sensor can detect: -50 degrees celsius ๐Ÿฅถ
  • INITIAL_GAIN โ€” the initial gain value used to calculate voltage returned โšก
  • CALIBRATION_VALUES โ€” values used to calculate Volt7705Calibration ๐Ÿงฎ

๐Ÿฆ‹ METHODS ๐Ÿฆ‹

  • new() โ€” returns a new External sensor object. fresh sensor, fresh start, main character energy ๐Ÿ‘‘
  • celsius() โ€” returns the current temperature from the device in celsius degrees ๐ŸŒก๏ธ

okay so the formula used to calculate the value based on a calibrated key value was created using the Eureqa tool from Cornell Computational Synthesis Lab, http://ccsl.mae.cornell.edu/eureqa โ€” yes that's the whole URL, we don't gatekeep ๐Ÿซถ

and because of that, she uses this formula instead of the provided number list:

f(y)=66.7348/(66.7275/(67.8088 - 9.70353*log(0.000251309 + y*y)) - 0.21651)

if you find another formula that's more accurate, please drop the author a line ๐Ÿ™ˆ the data used can be found in the source code of this file.


โญ INHERIT METHODS FROM โญ

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

like, she's literally borrowing her bestie's whole wardrobe ๐Ÿ’œ


๐Ÿงš DEPENDENCIES ๐Ÿงš

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

use Carp;
use Time::HiRes qw / sleep /;
use Device::USB::PCSensor::HidTEMPer::Sensor;

and it uses the strict and warning pragmas โ€” she's responsible, okay?? ๐ŸŒธ


๐Ÿ’€ BUGS ๐Ÿ’€

please report any bugs or missing features using the CPAN RT tool. not me begging you to file tickets but like... do it ๐Ÿ™


๐Ÿ“ FOR MORE INFORMATION ๐Ÿ“

None

nothing. silence. iconic ๐Ÿ’…


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Magnus Sulland < msulland@cpan.org >


๐ŸŒŸ ACKNOWLEDGEMENTS ๐ŸŒŸ

this code includes findings done by Robin B. Jensen, http://www.drunkardswalk.dk, when converting the received hex values into volt โšก shoutout to them fr fr


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.


and that's the whole page, bestie!! this one was documented in perl v5.40.0, dated 2024-11-30 โ€” mwah, slay, periodt ๐ŸŽ€โœจ๐Ÿ’–

๐Ÿ“ฆ where this page comes from