akkoyun / MAX17055

MIT License
1 stars 1 forks source link

ESP32 I2c Compatibility issue #14

Open pgiatis opened 2 weeks ago

pgiatis commented 2 weeks ago

Hi I am having an issue trying to get your library working on a ESP32 using Platorm IO. Library and code compiles fine and communicates with the IC however I am getting I2C 263 read errors. I have tried to reduce the I2C clock speed to resolve this issue with no success. This issue is primarily a read error timeout nuisance. Has it been tested with an ESP32?

pgiatis commented 2 weeks ago

Just found changing the following hex 0X70 to 0X36 in the Definitions.h fixes the read error.

// Set Default Address

ifndef __Mux_Address__

#define __Mux_Address__         (uint8_t)0x36

endif