Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Send an instruction to all servos BroadcastIdent byte = 0xFE // 254 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { Serial io.ReadWriteCloser // The time to wait for a single read to complete before giving up. Timeout time.Duration // Optional Logger (which only implements Printf) to log network traffic. If // nil (the default), nothing is logged. Logger iface.Logger }
func New ¶
func New(serial io.ReadWriteCloser) *Network
Click to show internal directories.
Click to hide internal directories.