distance

package
v0.0.0-...-b06f6d0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SPEED_OF_SOUND = 34320.0 // in cm per second

Variables

This section is empty.

Functions

func Close

func Close()

func Init

func Init(echo int, trigger int) (err error)

func Pause

func Pause()

func ReadDistance

func ReadDistance() float64

func SetMaxDistance

func SetMaxDistance(cm int)

*

  • sets the timeout based on the max distance in cm

Types

This section is empty.

Jump to

Keyboard shortcuts

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