On Wed, Apr 5, 2023 at 11:22 AM Jean SUZINEAU via fpc-pascal <
fpc-pascal@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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to