Change Update Rate of HMC6343 Compass per I2C
i have little problem changing internal update rate of honeywell hmc6343 compass modul control arduino via i2c / wire library.
reading out sensor data no problem @ all. change internal update rate have change eeprom register settings in hmc6343.
based on manual command byte send should 0xf1 followed eeprom address (0x05) followed byte write eeprom (for 10hz should 0x02). that's code used:
wire.begintransmission(slaveaddress);
wire.send(0xf1);
wire.send(0x05);
wire.send(0x02);
wire.endtransmission();
it seems work in way when read out eeprom register using 0xe1 command followed 0x05 (eeprom address)
it shows right register value. unfortunately update rate doesn't change.
any idea i'm missing here?
reading out sensor data no problem @ all. change internal update rate have change eeprom register settings in hmc6343.
based on manual command byte send should 0xf1 followed eeprom address (0x05) followed byte write eeprom (for 10hz should 0x02). that's code used:
wire.begintransmission(slaveaddress);
wire.send(0xf1);
wire.send(0x05);
wire.send(0x02);
wire.endtransmission();
it seems work in way when read out eeprom register using 0xe1 command followed 0x05 (eeprom address)
it shows right register value. unfortunately update rate doesn't change.
any idea i'm missing here?
did ever update rate change? i'm having same problem myself.
Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Change Update Rate of HMC6343 Compass per I2C
arduino
Comments
Post a Comment