periphboard

package
v0.0.0-...-cec053f Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package periphboard implements a Linux-based board which uses periph.io for GPIO pins.

Index

Constants

This section is empty.

Variables

View Source
var Model = resource.NewModel("viam-labs", "board", "periph")

Functions

This section is empty.

Types

type Config

type Config struct {
	Analogs    []mcp3008helper.MCP3008AnalogConfig `json:"analogs,omitempty"`
	Attributes utils.AttributeMap                  `json:"attributes,omitempty"`
}

A Config describes the configuration of a board and all of its connected parts.

func (*Config) Validate

func (conf *Config) Validate(path string) ([]string, error)

Validate ensures all parts of the config are valid.

Jump to

Keyboard shortcuts

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