Skip to content

Commit

Permalink
Update PCA9635.h
Browse files Browse the repository at this point in the history
Upper three bits of register address defines the register address incrementation flag. If this is not defined the array write is not possible.
  • Loading branch information
pavelvitvar authored Jan 16, 2019
1 parent 89d3754 commit ab4de07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/PCA9635/PCA9635.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -81,4 +81,4 @@ class PCA9635
#endif
//
// END OF FILE
//
//

0 comments on commit ab4de07

Please sign in to comment.