Sorry for the crosspost, but I figured that this might be a better place to get help.
I have a micro:bot kit, and am trying to connect a Qwiic MP3 trigger to it over I2C. I am using the MakeCode editor.
The SD card on the MP3 trigger is loaded with files T001.mp3 through T010.mp3, as well as F001.mp3 through F010.mp3.
I can play the manual triggers fine by connecting ground to the various breakouts, so I know it is reading the SD card correctly, and receiving power over the I2C bus.
However, it is not responding to I2C commands.
Here is the Javascript code, below. It is sending 110,2,2 to address 55 (or 0x6e, 0x02, 0x02 to address 0x37), which I would expect to play F002.mp3.
Any thoughts on what I am doing wrong?
input.onButtonPressed(Button.A, function () {
basic.showIcon(IconNames.Yes)
pins.i2cWriteNumber(
55,
110,
NumberFormat.UInt8LE,
true
)
pins.i2cWriteNumber(
55,
2,
NumberFormat.UInt8LE,
true
)
pins.i2cWriteNumber(
55,
2,
NumberFormat.UInt8LE,
false
)
basic.showIcon(IconNames.No)
})
basic.showIcon(IconNames.Happy)
basic.forever(function () {
})