CmdID

CmdID / Commands

i2cset

Write an i2c register. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

Write an i2c register. MODE is b for byte, w for 16-bit word, i for I2C block.

i2cset [-fy] BUS CHIP ADDR VALUE... MODE
-fForce access to busy devices
-ySkip confirmation prompts (yes to all)

Set the value of a register of an I2C device. Note: All addresses should be specified in hexadecimal.

Write to a register of an I2C device

i2cset i2cbus device_address register_address valueIdentify

Write to a register of an I2C device without asking for confirmation

i2cset -y i2cbus device_address register_address valueIdentify
-ySkip confirmation prompts (yes to all) toybox

Write to a register of an I2C device using a specific mode

i2cset i2cbus device_address register_address value bIdentify