Documentation ¶
Overview ¶
Package iodelegates implements the behaviour of some GoAbU I/O related resources.
Index ¶
- func MakeButton(adaptor physical.IOadaptor, name string, args ...interface{}) (physical.IOdelegate, memory.Resources, error)
- func MakeDigitalPin(adaptor physical.IOadaptor, name string, args ...interface{}) (physical.IOdelegate, memory.Resources, error)
- func MakeIOresources(a physical.IOadaptor) *physical.IOresources
- func MakeMotor(adaptor physical.IOadaptor, name string, args ...interface{}) (physical.IOdelegate, memory.Resources, error)
- type Button
- type DigitalPin
- type Motor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeButton ¶
func MakeDigitalPin ¶
func MakeIOresources ¶
func MakeIOresources(a physical.IOadaptor) *physical.IOresources
Types ¶
type Button ¶
type Button struct {
// contains filtered or unexported fields
}
type DigitalPin ¶
type DigitalPin struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.