snippetbashTip
i2cget — Read from a register of an I2C device. See also: `i2cdetect`, `i2cdump`, `i2cset`. Note: All address
Viewed 0 times
commandi2ci2cgetfromreadcliregisterdevice
linux
Problem
How to use the
i2cget command: Read from a register of an I2C device. See also: i2cdetect, i2cdump, i2cset. Note: All addresses should be specified in hexadecimal. More information: <https://manned.org/i2cget>.Solution
i2cget — Read from a register of an I2C device. See also: i2cdetect, i2cdump, i2cset. Note: All addresses should be specified in hexadecimal. More information: <https://manned.org/i2cget>.Read from a register of an I2C device:
i2cget {{i2cbus}} {{device_address}} {{register_address}}Read from a register of an I2C device without asking for confirmation:
i2cget -y {{i2cbus}} {{device_address}} {{register_address}}Read from a register of an I2C device using a specific mode:
i2cget {{i2cbus}} {{device_address}} {{register_address}} {{b|w|c|s|i}}Code Snippets
Read from a register of an I2C device
i2cget {{i2cbus}} {{device_address}} {{register_address}}Read from a register of an I2C device without asking for confirmation
i2cget -y {{i2cbus}} {{device_address}} {{register_address}}Read from a register of an I2C device using a specific mode
i2cget {{i2cbus}} {{device_address}} {{register_address}} {{b|w|c|s|i}}Context
tldr-pages: linux/i2cget
Revisions (0)
No revisions yet.