Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Fixed PWM driver reset#83

Merged
tdicola merged 4 commits into
adafruit:masterfrom
sebastianludwig:master
Jul 26, 2014
Merged

Fixed PWM driver reset#83
tdicola merged 4 commits into
adafruit:masterfrom
sebastianludwig:master

Conversation

@sebastianludwig

Copy link
Copy Markdown
Contributor

The previous implementation only set the MODE1 register to 0x00, which is not the default of the PCA9685 (bit 0, ALLCALL, defaults to 1 - see section 7.3.1 in the datasheet) and ignores all other register like MODE2, all output values, etc. The PCA9685 offers a dedicated software reset, which "allows all the devices in the I2C-bus to be reset to the power-up state" (section 7.6).

@tdicola

tdicola commented Jul 26, 2014

Copy link
Copy Markdown
Contributor

Thanks for submitting the changes--just tested them out and they work great. Merging the changes in now. Thanks!

tdicola added a commit that referenced this pull request Jul 26, 2014
@tdicola tdicola merged commit 57f5589 into adafruit:master Jul 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants