You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I try to use this library communication with BH1730 on ESP32. And the cpu while halt on "begin" and "readLux" function.
I have fix this issues with remove "Wire.beginTransmission(BH1730_ADDR);" before "Wire.requestFrom(BH1730_ADDR, 1);" in "read8" and "read16". I think is a wrong use. "requestFrom" function will call slave address with read. "beginTransmission" is the start before write.
The text was updated successfully, but these errors were encountered:
Hi.
I try to use this library communication with BH1730 on ESP32. And the cpu while halt on "begin" and "readLux" function.
I have fix this issues with remove "Wire.beginTransmission(BH1730_ADDR);" before "Wire.requestFrom(BH1730_ADDR, 1);" in "read8" and "read16". I think is a wrong use. "requestFrom" function will call slave address with read. "beginTransmission" is the start before write.
The text was updated successfully, but these errors were encountered: