As long as your time between bytes is less than cmd_timeout_ms, you can send them together (an array of bytes) or apart (one byte at a time) as you would like. Also, ‘0x02’ is not the same as ‘2’; the HEX value for ‘2’ is ‘0x032’. Most likely you would get an error if you send that command sequence you listed above. You should probably send ‘2’ and not ‘0x02’.
No, the commas are not actually sent to the Wixel; the commas shown in the Wixel user’s guide are there to make it readable.
I’m a bit confused with I2C addressing.
I use the BMP180 temp sensor with my raspberry Pi,
and i wish to move the sensor to remote place using wixels for communications.
On the Pi, the address of the sensor reported by i2cdetect shows 0x77,
but the datasheet of the sensor indicates an address of 0xEE (0xEF read).
So, which address should i use with wixel i2c librarie ?
(note : i’m still in phase of debugging I2C communications between wixel and bmp180,
so knowing the good address will surely help me)