2014-04-30 23:10:44 +08:00
|
|
|
package gobot
|
2013-10-24 13:00:03 +08:00
|
|
|
|
2014-11-21 10:00:32 +08:00
|
|
|
type Driver interface {
|
2014-11-20 15:21:19 +08:00
|
|
|
Start() []error
|
|
|
|
Halt() []error
|
2014-07-04 10:14:04 +08:00
|
|
|
Name() string
|
2014-11-21 10:00:32 +08:00
|
|
|
Connection() Connection
|
2014-06-07 05:44:16 +08:00
|
|
|
}
|
2014-11-22 11:35:01 +08:00
|
|
|
|
|
|
|
type Piner interface {
|
|
|
|
Pin() string
|
|
|
|
}
|