mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +01:00
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…
x
Reference in New Issue
Block a user