43#define PT2258_CLEAR_REGISTER 0b11000000
44#define PT2258_CHALL_1 0b11100000
45#define PT2258_CHALL_10 0b11010000
46#define PT2258_CH3_1 0b00010000
47#define PT2258_CH3_10 0b00000000
48#define PT2258_CH4_1 0b00110000
49#define PT2258_CH4_10 0b00100000
50#define PT2258_CH2_1 0b01010000
51#define PT2258_CH2_10 0b01000000
52#define PT2258_CH5_1 0b01110000
53#define PT2258_CH5_10 0b01100000
54#define PT2258_CH1_1 0b10010000
55#define PT2258_CH1_10 0b10000000
56#define PT2258_CH6_1 0b10110000
57#define PT2258_CH6_10 0b10100000
58#define PT2258_CHALL_MUTE 0b11111000
void PT2258Send(uint8_t a, uint8_t b)
Send the datas to the IC.
Definition: PT2258.cpp:228
void volumeAll(uint8_t volume)
Set the volume of all the channels at once.
Definition: PT2258.cpp:201
uint8_t address
Definition: PT2258.h:77
uint8_t begin(void)
Start the I2C communication.
Definition: PT2258.cpp:137
void volume(uint8_t channel, uint8_t volume)
Set the individual channel volume.
Definition: PT2258.cpp:187
void mute(bool mute)
Mute control for all the channels. No matter the volume, the channels will stay silent....
Definition: PT2258.cpp:215
void attenuationAll(uint8_t attenuation)
Set the attenuation of all the channels at once in db.
Definition: PT2258.cpp:172
void attenuation(uint8_t channel, uint8_t attenuation)
Set the individual channel attenuation in db.
Definition: PT2258.cpp:158