cmd

package
v1.1.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SPARKMAXDFUVID = 0x0483
	SPARKMAXDFUPID = 0xdf11
)

Variables

View Source
var Device string

Device is the COM port

View Source
var Persist bool

Persist mode keeps connection alive while application is running

View Source
var Remote bool

Remote mode sets up a TCP/IP server to stream the command line

View Source
var Verbosity uint

Verbosity 0 (default) don't show any messages, 1 show some, 2 show all

Functions

func ClearFaults added in v1.0.131

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FactoryReset added in v1.1.46

func FactoryReset(command *sparkmax.FactoryResetRequest) (*sparkmax.RootResponse, error)

func Float32FromBytes

func Float32FromBytes(bytes []byte) float32

func Float32ToBytes

func Float32ToBytes(float float32) []byte

func ListParameters added in v1.0.131

func SetVersion

func SetVersion(version string)

func StartNew

func StartNew() consoleProgress

func Telemetry added in v1.1.46

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL