adapter

package
v0.0.0-...-2e8d5ef Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoDevice = errors.New("device not found, specify with --device FILENAME")

ErrNoDevice is returned if no device was specified or if it doesn't exist.

Functions

func New

func New(device string) (*firmata.Adaptor, error)

New creates a new i2c adapter suitable for the arduino. Device must be supplied, typically /dev/tty.usbmodem141421 or similar for Arduinos.

Types

This section is empty.

Jump to

Keyboard shortcuts

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