phirmata

package module
v0.0.0-...-1755c9f Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

phirmata

Periph adapter for Firmata

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPin

func NewPin(owner *firmata.Firmata, pinid int) (gpio.PinIO, error)

NewPin creates a Periph GPIO handle for the given Firmata Pin

Types

type Dev

type Dev interface {
	Pins() []gpio.PinIO
	I2C() i2c.Bus
}

Dev provides access to functionalities

func New

func New(conn io.ReadWriteCloser) (Dev, error)

New attempts to connect to a device over the given serial connection using the Firmata protocol

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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