Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ExtendedStop = byte(17) ExtendedReset = byte(64) ExtendedSleep = byte(96) )
Functions ¶
This section is empty.
Types ¶
type ArmLinkPacket ¶
type ArmLinkPacket struct {
// contains filtered or unexported fields
}
ArmLinkPacket holds the armlink packet parameters
func NewArmLinkPacket ¶
func NewArmLinkPacket(br, sr, er, wa, wr, g uint16, d, b, e byte) *ArmLinkPacket
NewArmLinkPacket creates a new ArmLinkPacket
func (*ArmLinkPacket) Bytes ¶
func (alp *ArmLinkPacket) Bytes() []byte
func (*ArmLinkPacket) SetExtended ¶
func (alp *ArmLinkPacket) SetExtended(e byte)
SetExtended set the extendedInstructionByte
func (*ArmLinkPacket) String ¶
func (alp *ArmLinkPacket) String() string
type ArmLinkSerial ¶
type ArmLinkSerial struct {
// contains filtered or unexported fields
}
func NewArmLinkSerial ¶
func NewArmLinkSerial() *ArmLinkSerial
func (*ArmLinkSerial) Close ¶
func (als *ArmLinkSerial) Close()
func (*ArmLinkSerial) Send ¶
func (als *ArmLinkSerial) Send(b []byte)
Click to show internal directories.
Click to hide internal directories.