NAME
Device::PCA9685 - I2C interface to PCA9685 16 channel 12 bit PWM
Generator
VERSION
version 0.001
ATTRIBUTES
I2CBusDevicePath
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.
PWMGenerator
$self->PWMGenerator->enable();
$self->PWMGenerator->setChannelPWM($channel,$pulseOnPoint,$pulseOffPoint);
The PCA9685 offers a 12 bit resolution which means across a duty cycle you may set and unset the PWM at 4096 different point.
Range of values for $pulseOnPoint and $pulseOffPoint is 0 to 4095
Range of values of $channel is 0 to 15
This is a object of Device::PWMGenerator::PCA9685
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through github at
<
https://github.com/shantanubhadoria/device-pca9685/issues>. You will be
notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for
public review and contribution under the terms of the license.
<
https://github.com/shantanubhadoria/device-pca9685>
git clone git://github.com/shantanubhadoria/device-pca9685.git
AUTHOR
Shantanu Bhadoria <shantanu at cpan dott org>
CONTRIBUTORS
* Shantanu <
[email protected]>
* Shantanu Bhadoria <
[email protected]>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Shantanu Bhadoria.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.