kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 157 forks source link

added ReadBytes function to I2CBus interface and implementation #37

Closed gavincabbage closed 8 years ago

gavincabbage commented 9 years ago

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.

gavincabbage commented 9 years ago

@kidoman Any chance of getting this merged sometime soon? Thanks!