But i updated my previous driver with this one. The probleme is that when I use SetRefreshRate, it clear all the bit, even POR bit. As i check this bit to know if i need to reprogram oscillator via Configure. It always do it as the bit as been cleared . So idea should be to read configuration, do an OR with refresh rate and write register . I did it and check is working :
`
int MLX90621_SetRefreshRate(uint8_t refreshRate)
{
uint16_t cfgReg;
int value;
int error;
confReg test;
Hi,
Thanks for the driver.
But i updated my previous driver with this one. The probleme is that when I use SetRefreshRate, it clear all the bit, even POR bit. As i check this bit to know if i need to reprogram oscillator via Configure. It always do it as the bit as been cleared . So idea should be to read configuration, do an OR with refresh rate and write register . I did it and check is working :
` int MLX90621_SetRefreshRate(uint8_t refreshRate) { uint16_t cfgReg; int value; int error; confReg test;
}`