accelerometer

package
v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

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

	ACCEL_FS_SENS_2G  = 2.0 / 32768.0
	ACCEL_FS_SENS_4G  = 4.0 / 32768.0
	ACCEL_FS_SENS_8G  = 8.0 / 32768.0
	ACCEL_FS_SENS_16G = 16.0 / 32768.0
)

Variables

This section is empty.

Functions

func Sensitivity

func Sensitivity(selector int) float32

Types

This section is empty.

Jump to

Keyboard shortcuts

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