Documentation ¶
Index ¶
Constants ¶
View Source
const SPEED_OF_SOUND = 34320.0 // in cm per second
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.