MLX90614
MLX90614 copied to clipboard
write16 function,
void MLX90614::write16(uint8_t cmd, uint16_t data);
this function seems not working, i think that the conversation must be finish at the end of function,
_rwError |= (1 << Wire.endTransmission(false)) >> 1;
instead of;
_rwError |= (1 << Wire.endTransmission(true)) >> 1;
any idea? thanks,
You may be correct.
I have not had failures in any applications that use this library. I only have one master device so it should make no difference. If you have multiple masters then this will fail.
Cheers,
JFF
From: bulentperktas [mailto:[email protected]] Sent: Friday, 6 May 2016 9:32 AM To: jfitter/MLX90614 Subject: [jfitter/MLX90614] write16 function, (#1)
void MLX90614::write16(uint8_t cmd, uint16_t data);
this function seems not working, i think that the conversation must be finish at the end of function,
_rwError |= (1 << Wire.endTransmission(false)) >> 1;
instead of;
_rwError |= (1 << Wire.endTransmission(true)) >> 1;
any idea? thanks,
You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/jfitter/MLX90614/issues/1 https://github.com/notifications/beacon/AGCsywwV7_o_p4_JZsey_J_6Srue3_0zks5p -n3qgaJpZM4IYelR.gif
__________ Information from ESET NOD32 Antivirus, version of virus signature database 13447 (20160506) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Thanks, Bülent PERKTAŞ
Really dangerous. I really recommend to corect it to Wire.endTransmission(true))