mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
Merge pull request #56 from mesemus/master
Possible typo in PCA9635 library
This commit is contained in:
commit
8bdfcfb3f3
@ -22,7 +22,7 @@ PCA9635::PCA9635(const uint8_t deviceAddress)
|
||||
// TWBR = 12; // 400KHz
|
||||
_data = 0;
|
||||
_error = 0;
|
||||
writeReg(PCA9685_MODE1, 0x81); // AUTOINCR | NOSLEEP | ALLADRR
|
||||
writeReg(PCA9635_MODE1, 0x81); // AUTOINCR | NOSLEEP | ALLADRR
|
||||
}
|
||||
|
||||
// write value to single PWM registers
|
||||
@ -131,4 +131,4 @@ uint8_t PCA9635::readReg(uint8_t reg)
|
||||
|
||||
//
|
||||
// END OF FILE
|
||||
//
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user