i2cget
Read an i2c register. toybox
On Linux
Linux
i2cget [-fy] BUS CHIP [ADDR]
-fForce access to busy devices-ySkip confirmation prompts (yes to all)Linux
Read from a register of an I2C device. Note: All addresses should be specified in hexadecimal.
Read from a register of an I2C device
i2cget i2cbus device_address register_addressIdentifyRead from a register of an I2C device without asking for confirmation
i2cget -y i2cbus device_address register_addressIdentify-ySkip confirmation prompts (yes to all) toyboxRead from a register of an I2C device using a specific mode
i2cget i2cbus device_address register_address bIdentify