Device::TMP102 - I2C interface to TMP102 temperature sensor
See Device::Temperature::TMP102 for more information.
this is the device file path for your I2CBus that the PCA9685 is connected on e.g. /dev/i2c-1 This must be provided during object creation.
$self->Temperature->getTemp();
This is a object of Device::Temperature::TMP102
To install Device::TMP102, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::TMP102
CPAN shell
perl -MCPAN -e shell install Device::TMP102
For more information on module installation, please visit the detailed CPAN module installation guide.