Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IDASEN_MIN_HEIGHT = 0.62 IDASEN_MAX_HEIGHT = 1.27 IDASEN_UUID_HEIGHT = "99fa0021-338a-1024-8a49-009c0215f78a" IDASEN_UUID_COMMAND = "99fa0002-338a-1024-8a49-009c0215f78a" IDASEN_UUID_REFERENCE_INPUT = "99fa0031-338a-1024-8a49-009c0215f78a" IDASEN_COMMAND_REFERENCE_INPUT_STOP = []byte{0x01, 0x80} IDASEN_COMMAND_UP = []byte{0x47, 0x00} IDASEN_COMMAND_DOWN = []byte{0x46, 0x00} IDASEN_COMMAND_STOP = []byte{0xFF, 0x00} ErrHeightBiggerThanMax = errors.New("height is bigger than the max height") ErrHeightSmallerThanMin = errors.New("height is smaller than the min height") )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(deskAddress string) (*Controller, error)
func (*Controller) GetCurrentHeight ¶
func (c *Controller) GetCurrentHeight() (float32, error)
type DeviceInfo ¶
Click to show internal directories.
Click to hide internal directories.