esp32

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package esp32 exists for the sole purpose of exposing the esp32 as a micro-rdk configuration in app.viam.com The ESP32 is supported by the micro-rdk only (https://github.com/viamrobotics/micro-rdk)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Pins              []int                    `json:"pins,omitempty"`
	DigitalInterrupts []digitalInterruptConfig `json:"digital_interrupts,omitempty"`
	Analogs           []analogConfig           `json:"analogs,omitempty"`
	I2Cs              []i2CConfig              `json:"i2cs,omitempty"`
}

Config mirrors the config structure in (https://github.com/viamrobotics/micro-rdk/blob/main/micro-rdk/src/esp32/board.rs).

func (*Config) Validate

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

Validate for esp32 will always return an unsupported error.

Jump to

Keyboard shortcuts

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