devices

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Part of devices package, which contains all the commands related to handling devices Runs the serial monitor and list devices

Index

Constants

View Source
const (
	LIST    = 0
	MONITOR = 1
)

Variables

This section is empty.

Functions

func HandleMonitor

func HandleMonitor(baud int, portDefined bool, portProvided string)

Opens monitor to see serial data

Types

type Devices

type Devices struct {
	Context *cli.Context
	Type    byte
	// contains filtered or unexported fields
}

func (Devices) Execute

func (devices Devices) Execute()

Runs the build command when cli build option is provided

func (Devices) GetContext

func (devices Devices) GetContext() *cli.Context

get context for the command

Jump to

Keyboard shortcuts

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