mirror of
https://github.com/kidoman/embd
synced 2025-07-04 20:37:46 +02:00
removing failed Stat use
This commit is contained in:
parent
5e7af40a61
commit
af12e6fa5d
3 changed files with 4 additions and 12 deletions
2
i2c.go
2
i2c.go
|
@ -4,8 +4,6 @@ package embd
|
|||
|
||||
// I2CBus interface is used to interact with the I2C bus.
|
||||
type I2CBus interface {
|
||||
// ReadBytes reads a slice of bytes from the given address.
|
||||
ReadBytes(addr byte) (value []byte, err error)
|
||||
// ReadByte reads a byte from the given address.
|
||||
ReadByte(addr byte) (value byte, err error)
|
||||
// ReadBytes reads a slice of bytes from the given address.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue