From ab4de07b191c31e34fc1c75d4b91f3c48fb0b447 Mon Sep 17 00:00:00 2001 From: pavelvitvar <46750178+pavelvitvar@users.noreply.github.com> Date: Wed, 16 Jan 2019 14:20:16 +0100 Subject: [PATCH] Update PCA9635.h Upper three bits of register address defines the register address incrementation flag. If this is not defined the array write is not possible. --- libraries/PCA9635/PCA9635.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/PCA9635/PCA9635.h b/libraries/PCA9635/PCA9635.h index de919c00..2db82341 100644 --- a/libraries/PCA9635/PCA9635.h +++ b/libraries/PCA9635/PCA9635.h @@ -19,7 +19,7 @@ #define PCA9635_MODE1 0x00 #define PCA9635_MODE2 0x01 -#define PCA9635_PWM(x) (0x02+(x)) +#define PCA9635_PWM(x) (0x82+(x)) #define PCA9635_GRPPWM 0x12 #define PCA9635_GRPFREQ 0x13 @@ -81,4 +81,4 @@ private: #endif // // END OF FILE -// \ No newline at end of file +//