NAME
Device::Chip::DAC7571
- chip driver for DAC7571
SYNOPSIS
use Device::Chip::DAC7571;
use Future::AsyncAwait;
my $chip = Device::Chip::DAC7571->new;
await $chip->mount( Device::Chip::Adapter::...->new );
# Presuming Vcc = 5V
await $chip->write_dac_ratio( 1.23 / 5 );
print "Output is now set to 1.23V\n";
DESCRIPTION
This Device::Chip subclass provides specific communication to a Texas Instruments DAC7571 attached to a computer via an I²C adapter.
The reader is presumed to be familiar with the general operation of this chip; the documentation here will not attempt to explain or define chip-specific concepts or features, only the use of this module to access them.
This class is derived from Device::Chip::DAC75xx, and inherits the methods defined there.
MOUNT PARAMETERS
addr
The I²C address of the device. Can be specified in decimal, octal or hex with leading 0
or 0x
prefixes.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>