Device::BusPirate::Chip::INA219 - deprecated
Device::BusPirate::Chip::INA219
This module has moved. it now lives at Device::Chip::INA219 because it now implements the Device::Chip interface.
To use it, replace
my $pirate = Device::BusPirate->new( @pirate_args ); my $chip = $pirate->mount_chip( "INA219" )->get;
with
my $chip = Device::Chip::INA219->new; $chip->connect( Device::Chip::Adapter::BusPirate->new( @pirate_args ) )->get;
Then proceed to use the $chip device as before.
$chip
To install Device::Chip::INA219, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Chip::INA219
CPAN shell
perl -MCPAN -e shell install Device::Chip::INA219
For more information on module installation, please visit the detailed CPAN module installation guide.