pca9685

package
v0.0.0-...-ad86941 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package pca9685servo implements a servo model supported by a PCA9685 and periph.io

Index

Constants

This section is empty.

Variables

View Source
var Model = resource.NewModel("viam-labs", "servo", "pca9685")

Model represents a linux wifi strength sensor model.

Functions

This section is empty.

Types

type Config

type Config struct {
	I2cBus           string `json:"i2c_bus"`
	Channel          int    `json:"channel"`
	Frequency        int    `json:"frequency_hz"`
	MinAngle         int    `json:"min_angle_deg"`
	MaxAngle         int    `json:"max_angle_deg"`
	StartingPosition uint32 `json:"starting_position_deg"`
	MinWidth         int    `json:"min_width_us"`
	MaxWidth         int    `json:"max_width_us"`
}

func (*Config) Validate

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

Jump to

Keyboard shortcuts

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