import "gobot.io/x/gobot/platforms/intel-iot/curie"
Package curie contains the Gobot driver for the Intel Curie IMU.
For further information refer to intel-iot README: https://github.com/hybridgroup/gobot/blob/master/platforms/intel-iot/curie/README.md
const ( CURIE_IMU = 0x11 CURIE_IMU_READ_ACCEL = 0x00 CURIE_IMU_READ_GYRO = 0x01 CURIE_IMU_READ_TEMP = 0x02 CURIE_IMU_SHOCK_DETECT = 0x03 CURIE_IMU_STEP_COUNTER = 0x04 CURIE_IMU_TAP_DETECT = 0x05 CURIE_IMU_READ_MOTION = 0x06 )
AccelerometerData is what gets returned with the "Accelerometer" event.
GyroscopeData is what gets returned with the "Gyroscope" event.
IMUDriver represents the IMU that is built-in to the Curie
NewIMUDriver returns a new IMUDriver
func (imu *IMUDriver) Connection() gobot.Connection
Connection returns the IMUDriver's Connection
EnableShockDetection turns on/off the Curie's built-in shock detection. The result will be returned by the Sysex response message
EnableStepCounter turns on/off the Curie's built-in step counter. The result will be returned by the Sysex response message
EnableTapDetection turns on/off the Curie's built-in tap detection. The result will be returned by the Sysex response message
Halt stops the IMUDriver
Name returns the IMUDriver's name
ReadAccelerometer calls the Curie's built-in accelerometer. The result will be returned by the Sysex response message
ReadGyroscope calls the Curie's built-in gyroscope. The result will be returned by the Sysex response message
ReadMotion calls the Curie's built-in accelerometer & gyroscope. The result will be returned by the Sysex response message
ReadTemperature calls the Curie's built-in temperature sensor. The result will be returned by the Sysex response message
SetName sets the IMUDriver'ss name
Start starts up the IMUDriver
MotionData is what gets returned with the "Motion" event.
ShockData is what gets returned with the "Shock" event.
TapData is what gets returned with the "Tap" event.
Package curie imports 3 packages (graph). Updated 2017-10-24. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).