[Toybox] [PATCH] Add i2ctransfer.
enh
enh at google.com
Thu Jul 6 16:23:57 PDT 2023
Tested on a Raspberry Pi 400 with a BME680 connected to the relevant
pins, and commands like `i2ctransfer 1 w3 at 0x77 0x60 0xb6 0xd0 r1`, which
writes 0xb6 to register 0x60 of chip 0x77 on bus 1, and then reads one
byte.
---
toys/other/i2ctools.c | 101 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 101 insertions(+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230706/85cae4bd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-i2ctransfer.patch
Type: text/x-patch
Size: 4507 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230706/85cae4bd/attachment.bin>
More information about the Toybox
mailing list