enum | Register {
REG_MODE1 = 0x00,
REG_MODE2 = 0x01,
REG_SUBADR1 = 0x02,
REG_SUBADR2 = 0x03,
REG_SUBADR3 = 0x04,
REG_ALLCALLADR = 0x05,
REG_LED0_ON_L = 0x06,
REG_LED0_ON_H = 0x07,
REG_LED0_OFF_L = 0x08,
REG_LED0_OFF_H = 0x09,
REG_LED1_ON_L = 0x0a,
REG_LED1_ON_H = 0x0b,
REG_LED1_OFF_L = 0x0c,
REG_LED1_OFF_H = 0x0d,
REG_LED2_ON_L = 0x0e,
REG_LED2_ON_H = 0x0f,
REG_LED2_OFF_L = 0x10,
REG_LED2_OFF_H = 0x11,
REG_LED3_ON_L = 0x12,
REG_LED3_ON_H = 0x13,
REG_LED3_OFF_L = 0x14,
REG_LED3_OFF_H = 0x15,
REG_LED4_ON_L = 0x16,
REG_LED4_ON_H = 0x17,
REG_LED4_OFF_L = 0x18,
REG_LED4_OFF_H = 0x19,
REG_LED5_ON_L = 0x1a,
REG_LED5_ON_H = 0x1b,
REG_LED5_OFF_L = 0x1c,
REG_LED5_OFF_H = 0x1d,
REG_LED6_ON_L = 0x1e,
REG_LED6_ON_H = 0x1f,
REG_LED6_OFF_L = 0x20,
REG_LED6_OFF_H = 0x21,
REG_LED7_ON_L = 0x22,
REG_LED7_ON_H = 0x23,
REG_LED7_OFF_L = 0x24,
REG_LED7_OFF_H = 0x25,
REG_LED8_ON_L = 0x26,
REG_LED8_ON_H = 0x27,
REG_LED8_OFF_L = 0x28,
REG_LED8_OFF_H = 0x29,
REG_LED9_ON_L = 0x2a,
REG_LED9_ON_H = 0x2b,
REG_LED9_OFF_L = 0x2c,
REG_LED9_OFF_H = 0x2d,
REG_LED10_ON_L = 0x2e,
REG_LED10_ON_H = 0x2f,
REG_LED10_OFF_L = 0x30,
REG_LED10_OFF_H = 0x31,
REG_LED11_ON_L = 0x32,
REG_LED11_ON_H = 0x33,
REG_LED11_OFF_L = 0x34,
REG_LED11_OFF_H = 0x35,
REG_LED12_ON_L = 0x36,
REG_LED12_ON_H = 0x37,
REG_LED12_OFF_L = 0x38,
REG_LED12_OFF_H = 0x39,
REG_LED13_ON_L = 0x3a,
REG_LED13_ON_H = 0x3b,
REG_LED13_OFF_L = 0x3c,
REG_LED13_OFF_H = 0x3d,
REG_LED14_ON_L = 0x3e,
REG_LED14_ON_H = 0x3f,
REG_LED14_OFF_L = 0x40,
REG_LED14_OFF_H = 0x41,
REG_LED15_ON_L = 0x42,
REG_LED15_ON_H = 0x43,
REG_LED15_OFF_L = 0x44,
REG_LED15_OFF_H = 0x45,
REG_ALL_LED_ON_L = 0xfa,
REG_ALL_LED_ON_H = 0xfb,
REG_ALL_LED_OFF_L = 0xfc,
REG_ALL_LED_OFF_H = 0xfd,
REG_PRE_SCALE = 0xfe,
REG_TestMode = 0xfe
} |