Documentation ¶
Overview ¶
Package ultrasonic implements an ultrasonic sensor based of the yahboom ultrasonic sensor
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrConfig ¶
type AttrConfig struct { TriggerPin string `json:"trigger_pin"` EchoInterrupt string `json:"echo_interrupt_pin"` Board string `json:"board"` }
AttrConfig is used for converting config attributes.
func (*AttrConfig) Validate ¶
func (config *AttrConfig) Validate(path string) error
Validate ensures all parts of the config are valid.
Click to show internal directories.
Click to hide internal directories.