i2ctransfer
Make i2c transfers. toybox
On Linux
Linux
Make i2c transfers. DESC is 'r' for read or 'w' for write, followed by the number of bytes to read or write, followed by '@' and a 7-bit address. For any message after the first, the '@' and address can be omitted to reuse the previous address. A 'w' DESC must be followed by the number of DATA bytes that was specified in the DESC.
i2ctransfer [-fy] BUS DESC [DATA...]...
-fForce access to busy devices-vVerbose (show messages sent, not just received)-ySkip confirmation prompts (yes to all)