mirror of https://github.com/kidoman/embd
improve doc
This commit is contained in:
parent
92e466966e
commit
d19e1713d6
|
@ -20,6 +20,7 @@ const (
|
||||||
rd = 0x0001
|
rd = 0x0001
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// A Bus implements access to the I2C two wire bus.
|
||||||
type Bus interface {
|
type Bus interface {
|
||||||
// Read a byte from the given address.
|
// Read a byte from the given address.
|
||||||
ReadByte(addr byte) (value byte, err error)
|
ReadByte(addr byte) (value byte, err error)
|
||||||
|
|
Loading…
Reference in New Issue