Skip to content

Commit dea0ea7

Browse files
committed
moreclang
1 parent 60c00ea commit dea0ea7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Adafruit_PWMServoDriver.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
#define PCA9685_SUBADR2 0x03 /**< I2C-bus subaddress 2 */
3434
#define PCA9685_SUBADR3 0x04 /**< I2C-bus subaddress 3 */
3535
#define PCA9685_ALLCALLADR 0x05 /**< LED All Call I2C-bus address */
36-
#define PCA9685_LED0_ON_L 0x06 /**< LED0 output & brightness control byte 0 */
37-
#define PCA9685_LED0_ON_H 0x07 /**< LED0 output & brightness control byte 1 */
38-
#define PCA9685_LED0_OFF_L 0x08 /**< LED0 output & brightness control byte 2 */
39-
#define PCA9685_LED0_OFF_H 0x09 /**< LED0 output & brightness control byte 3 */
36+
#define PCA9685_LED0_ON_L 0x06 /**< LED0 on tick, low byte*/
37+
#define PCA9685_LED0_ON_H 0x07 /**< LED0 on tick, high byte*/
38+
#define PCA9685_LED0_OFF_L 0x08 /**< LED0 off tick, low byte */
39+
#define PCA9685_LED0_OFF_H 0x09 /**< LED0 off tick, high byte */
4040
// etc all 16: LED15_OFF_H 0x45
41-
#define PCA9685_ALLLED_ON_L 0xFA /**< load all the LEDn_ON registers, low */
42-
#define PCA9685_ALLLED_ON_H 0xFB /**< load all the LEDn_ON registers, high */
41+
#define PCA9685_ALLLED_ON_L 0xFA /**< load all the LEDn_ON registers, low */
42+
#define PCA9685_ALLLED_ON_H 0xFB /**< load all the LEDn_ON registers, high */
4343
#define PCA9685_ALLLED_OFF_L 0xFC /**< load all the LEDn_OFF registers, low */
44-
#define PCA9685_ALLLED_OFF_H 0xFD /**< load all the LEDn_OFF registers, high */
44+
#define PCA9685_ALLLED_OFF_H 0xFD /**< load all the LEDn_OFF registers,high */
4545
#define PCA9685_PRESCALE 0xFE /**< Prescaler for PWM output frequency */
4646
#define PCA9685_TESTMODE 0xFF /**< defines the test mode to be entered */
4747

0 commit comments

Comments
 (0)