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
Once setting the I2C address, using the S option has no effect.
Steps to reproduce
type S80 to select address 80
type S81 to select address 81
address is however still set to 80
This is because typing S will call the EEPROM_I2C_setAddress(); function, which will return the new address. However, nothing is done with the returned value.
Fix:
Change line 213 from EEPROM_I2C_setAddress(); to I2C_ADDRESS = EEPROM_I2C_setAddress();
PS, thanks for the awesome tool. Though it took me quite some time to figure out this problem, as I though it was an hardware issue, instead of the software I was using to read (-:
The text was updated successfully, but these errors were encountered:
Fix has been merged. Thanks for the heads up.
Note that I do not have a test set-up available, so I'd be much obliged if you could verify the correctness of the fix. (I made a few extra, mainly cosmetic, changes.)
Once setting the I2C address, using the
S
option has no effect.Steps to reproduce
This is because typing
S
will call theEEPROM_I2C_setAddress();
function, which will return the new address. However, nothing is done with the returned value.Fix:
Change line 213 from
EEPROM_I2C_setAddress();
toI2C_ADDRESS = EEPROM_I2C_setAddress();
PS, thanks for the awesome tool. Though it took me quite some time to figure out this problem, as I though it was an hardware issue, instead of the software I was using to read (-:
The text was updated successfully, but these errors were encountered: