I am testing out some I2C connected hardware and my C program is working fine using Wiring Pi. However, what I wanted to do was read a byte or write a byte to the slave device from the shell. I looked at Wiring Pi's gpio command but couldn't see any obvious flags to allow it to read and write from I2C. Does anyone know of a shell command that I can use to read and write data through I2C that runs on Raspbian on the Pi?
Asked
Active
Viewed 1.4k times
5
Kolban
- 1,784
- 2
- 16
- 28