I don't have much experience with i2c and would be most gratefull if someone could answer this question
when writing to one register I do this?
Wire.write(0x06); // reg to write to
Wire.write(0x00); // highbyte
Wire.write(0xb5); // lowbyte
when writing to a number of registers one after the other I do this?
unsigned int testFM=
0x80, 0x00, // Reg 0x00
0x10, 0x80, // Reg 0x01....
... code cut to save space .....
0x00, 0x00, // Reg 0x27
0x44, 0x00, // Reg 0x28
Wire.write(0x00); // start at address 0
while(testFM[i] != 0xff)
Wire.write(testFM[i]); // send highbyte
Wire.write(testFM[i+1]); // send lowbyte