mirror of https://github.com/periph/devices
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
514 B
Go
34 lines
514 B
Go
package firmata
|
|
|
|
import (
|
|
"periph.io/x/conn/v3/gpio"
|
|
"periph.io/x/conn/v3/physic"
|
|
)
|
|
|
|
type I2CBus struct {
|
|
}
|
|
|
|
func (i *I2CBus) SCL() gpio.PinIO {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (i *I2CBus) SDA() gpio.PinIO {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (i *I2CBus) Close() error {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (i *I2CBus) String() string {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (i *I2CBus) Tx(addr uint16, w, r []byte) error {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (i *I2CBus) SetSpeed(f physic.Frequency) error {
|
|
panic("implement me")
|
|
}
|