mirror of
https://github.com/kidoman/embd
synced 2025-07-03 03:47:33 +02:00
make the framework easier to begin with
This commit is contained in:
parent
ef87ad7879
commit
3d08995000
26 changed files with 237 additions and 170 deletions
|
@ -1,15 +1,10 @@
|
|||
package host
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/kidoman/embd/gpio"
|
||||
"github.com/kidoman/embd/i2c"
|
||||
)
|
||||
import "errors"
|
||||
|
||||
type Descriptor struct {
|
||||
GPIO func() gpio.GPIO
|
||||
I2C func() i2c.I2C
|
||||
GPIO func() interface{}
|
||||
I2C func() interface{}
|
||||
}
|
||||
|
||||
type Describer func(rev int) *Descriptor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue