accelerometer

package
v3.6.8+incompatible Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package accelerometer contains constants for the MPU9250.

Index

Constants

View Source
const (
	ACCEL_FS_SEL_2G  = 0
	ACCEL_FS_SEL_4G  = 8
	ACCEL_FS_SEL_8G  = 0x10
	ACCEL_FS_SEL_16G = 0x18
)

Valid accelerator values.

Variables

This section is empty.

Functions

func Sensitivity

func Sensitivity(selector int) float32

Sensitivity returns the sensitivity as float32.

Types

This section is empty.

Jump to

Keyboard shortcuts

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