I added a ReadBytes function to the I2CBus interface since I needed it for a project I'm working on. It's a very simple adaptation of the ReadByte function- I did the simplest thing that worked. All tests pass a simple go test -v. Did my best to follow the contribution guidelines- let me know if I missed anything.
I added a ReadBytes function to the I2CBus interface since I needed it for a project I'm working on. It's a very simple adaptation of the ReadByte function- I did the simplest thing that worked. All tests pass a simple
go test -v
. Did my best to follow the contribution guidelines- let me know if I missed anything.