You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I saw a few questions about i2c, looked at the code in Arduino StandartFirmata and lost my understanding of how to write SysEx commands. Unknown argc argument in SysExCallback, what does it mean? I looked at it i2c.md and I didn't understand in what order to write the bytes. Let's say the address of the device on the Arduino is 0x36, the startup parameters. The 7th bit is always zero, no restart is needed, in 7 bits, the mod is read and the last 3 bits are unclear, what do they mean? This is how the request 00010000 turned out. The address of the slave device 0x0E, from which 2 bytes of data should be read. In total, the entire request will be
send_sysex(I2C_REQUEST, [0x36, 0x10, 0x0E, 0x02])? And how do I get the data after the request? Should I add a handler to I2C_REPLY or to I2C_REQUEST?
The text was updated successfully, but these errors were encountered:
Well, I saw a few questions about i2c, looked at the code in Arduino StandartFirmata and lost my understanding of how to write SysEx commands. Unknown argc argument in SysExCallback, what does it mean? I looked at it i2c.md and I didn't understand in what order to write the bytes. Let's say the address of the device on the Arduino is 0x36, the startup parameters. The 7th bit is always zero, no restart is needed, in 7 bits, the mod is read and the last 3 bits are unclear, what do they mean? This is how the request 00010000 turned out. The address of the slave device 0x0E, from which 2 bytes of data should be read. In total, the entire request will be
send_sysex(I2C_REQUEST, [0x36, 0x10, 0x0E, 0x02])? And how do I get the data after the request? Should I add a handler to I2C_REPLY or to I2C_REQUEST?
The text was updated successfully, but these errors were encountered: