Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- orangepi@Orangepi:~$ sudo i2cset 0 0x65 0x01 0x96
- WARNING! This program can confuse your I2C bus, cause data loss and worse!
- I will write to device file /dev/i2c-0, chip address 0x65, data address
- 0x01, data 0x96, mode byte.
- Continue? [Y/n] y
- orangepi@Orangepi:~$ sudo i2cget 0 0x65 0x01
- WARNING! This program can confuse your I2C bus, cause data loss and worse!
- I will read from device file /dev/i2c-0, chip address 0x65, data address
- 0x01, using read byte data.
- Continue? [Y/n] y
- 0x96
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement