mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 13:56:52 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/linux/i2cdetect
Normal file
22
tldr/linux/i2cdetect
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# i2cdetect
|
||||
|
||||
> Scan I2C buses.
|
||||
> See also: `i2cdump`, `i2cget`, `i2cset`.
|
||||
> More information: <https://manned.org/i2cdetect>.
|
||||
|
||||
- List active I2C buses:
|
||||
|
||||
`i2cdetect -l`
|
||||
|
||||
- Scan devices on an I2C bus:
|
||||
|
||||
`i2cdetect {{i2c_bus}}`
|
||||
|
||||
- Scan devices on an I2C bus without asking for confirmation:
|
||||
|
||||
`i2cdetect -y {{i2c_bus}}`
|
||||
Reference in New Issue
Block a user