import "github.com/kidoman/embd/sensor/l3gd20"
Package l3gd20 allows interacting with L3GD20 gyroscoping sensor.
var ( R250DPS = &Range{sensitivity: 0.00875, value: 0x00} R500DPS = &Range{sensitivity: 0.0175, value: 0x10} R2000DPS = &Range{sensitivity: 0.070, value: 0x20} )
The three range settings supported by L3GD20.
L3GD20 represents a L3GD20 3-axis gyroscope.
New creates a new L3GD20 interface. The bus variable controls the I2C bus used to communicate with the device.
Close.
Orientation returns the current orientation reading.
func (d *L3GD20) Orientations() (<-chan Orientation, error)
Orientations returns a channel which will have the current temperature reading.
Start starts the data acquisition loop.
Stop the data acquisition loop.
Temperature returns the current temperature reading.
type Range struct {
// contains filtered or unexported fields
}
Range represents a L3GD20 range setting.
Package l3gd20 imports 6 packages (graph) and is imported by 3 packages. Updated 2016-07-19. Refresh now. Tools for package owners.