|
33 | 33 | #define PCA9685_SUBADR2 0x03 /**< I2C-bus subaddress 2 */
|
34 | 34 | #define PCA9685_SUBADR3 0x04 /**< I2C-bus subaddress 3 */
|
35 | 35 | #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 */ |
40 | 40 | // 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 */ |
43 | 43 | #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 */ |
45 | 45 | #define PCA9685_PRESCALE 0xFE /**< Prescaler for PWM output frequency */
|
46 | 46 | #define PCA9685_TESTMODE 0xFF /**< defines the test mode to be entered */
|
47 | 47 |
|
|
0 commit comments