[fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?
christo.crause at gmail.com
Wed Apr 5 11:44:31 CEST 2023
On Wed, Apr 5, 2023 at 11:22 AM Jean SUZINEAU via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:
> May be you could get the source code of i2ctransfer from i2c-tools and
> compare it with the code in i2c.pas ?
Good idea, that led to the suggestion to try the WriteBytes method which is
similar to how i2ctransfer constructed the i2c transaction. Hopefully the
change to the WriteBytesToReg methods also fixes the original problem,
since it is a little bit more convenient to work with.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal