Open blueisaak opened 3 years ago
Hi @blueisaak! You right, there is no i2c.Write(...) function in the library, and this must be changed to i2c.WriteBytes(...). You can apply PR with the update, either I will do it some time later.
Hi @d2r2 I tried to do a PR but failed...
~/git/go-i2c$ git push --set-upstream origin fix_readme
Username for 'https://github.com': blueisaak
Password for 'https://blueisaak@github.com':
remote: Permission to d2r2/go-i2c.git denied to blueisaak.
Hi, I'am just starting with golang. But is the usage example correct? I can not find a function "Write" in i2c.go only a "write". Maybe "WriteBytes" is ment? Cheers Isaak
... // to and from device connected via I2C bus, like: _, err := i2c.Write([]byte{0x1, 0xF3}) ...