Datasheet
First, though, we'll have to wire up the digital data pins.
Connect the following header pins:
GND from the MAX9744 connects to the common ground connection on your Arduino
Vi2c from the MAX9744 connects to the logic level voltage of your board. For most Arduinos, 5V works well. If
you have a 3V microcontroller, use 3.3V
Connect the SDA pin to the I2C data SDA pin on your Arduino. On an UNO & '328 based Arduino, this is also
known as A4, on a Mega it is also known as digital 20 and on a Leonardo/Micro, digital 2
Connect the SCL pin to the I2C clock SCL pin on your Arduino. On an UNO & '328 based Arduino, this is also
known as A5, on a Mega it is also known as digital 21 and on a Leonardo/Micro, digital 3
Run code
Since the MAX9744 has pretty much no protocol for sending data other than "write the volume level you want" we
didn't write a library, just an example sketch as shown below
Make sure the AD1 AD2 and Analog solder jumpers are not closed before running the I2C tests, or it won't
work! For digital mode, these jumpers must be un-soldered
© Adafruit Industries https://learn.adafruit.com/adafruit-20w-stereo-audio-amplifier-class-d-max9744 Page 30 of 37