arduino

package
v1.5.19 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func PrepareSketch added in v1.1.6

func PrepareSketch(path string) (string, error)

This prepares a sketch folder or file for compilation with requirements for arduino like naming conventions and folder structure setup

Types

type Arduino

type Arduino struct {
	// contains filtered or unexported fields
}

func NewArduino

func NewArduino() *Arduino

func (*Arduino) Compile

func (a *Arduino) Compile(path string) error

func (*Arduino) GitLibraryInstall added in v1.0.13

func (a *Arduino) GitLibraryInstall(req *rpc.GitLibraryInstallRequest) error

func (*Arduino) InstallLibrary

func (a *Arduino) InstallLibrary(req *rpc.LibraryInstallRequest) error

func (*Arduino) Monitor added in v1.1.0

func (a *Arduino) Monitor(ctx context.Context, portAddress string) error

func (*Arduino) PlatformInstall added in v1.0.13

func (a *Arduino) PlatformInstall(req *rpc.PlatformInstallRequest) (*rpc.PlatformInstallResponse, error)

func (*Arduino) SetFQBN added in v1.2.0

func (a *Arduino) SetFQBN(fqbn string)

func (*Arduino) Upload

func (a *Arduino) Upload(portAddress, path string) error

Directories

Path Synopsis
cli
feedback
Package feedback provides an uniform API that can be used to print feedback to the users in different formats.
Package feedback provides an uniform API that can be used to print feedback to the users in different formats.

Jump to

Keyboard shortcuts

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