|
deki-imu 0.19.0
Deki package reference
|
Accelerometer + gyroscope peripheral interface with LSM6DS3 backend (hardware pedometer)
Repository: github.com/dekiengine/deki-imu · Latest release: 0.19.0 · Needs engine 0.19.0+ · Requires: deki-i2c
Install with DekiEditor --packages-add deki-imu <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.
Shown in the editor as IMU (Accelerometer + Gyroscope).
| Component | Category | Description |
|---|---|---|
| LSM6DS3IMUComponent | Sensors | Reads the LSM6DS3 motion sensor over I2C, step counter included. |
Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.
| Feature | Define | Default |
|---|---|---|
| LSM6DS3 (I²C, 6-axis + hardware pedometer) | DEKI_FEATURE_IMU_LSM6DS3 | on |
Reads the LSM6DS3 motion sensor over I2C, step counter included.
Inspector name: LSM6DS3 IMU · Category: Sensors · Type: DekiImu::LSM6DS3IMUComponent
| Property | Type | Default | Constraints | Description |
|---|---|---|---|---|
| i2cPort | int32 | 0 | 0 to 3 | Which I2C bus the sensor is on. Must match the I2C Bus component that set that port up. |
| i2cAddress | int32 | 106 | 0 to 127 | The sensor's address on the bus, set by its SDO/SA0 pin: 0x6A when that pin is low, 0x6B when high. Two of these chips can share a bus by wiring that pin differently. |
| enablePedometer | bool | true | Run the chip's built-in step counter. It counts in hardware, so steps keep accumulating without the CPU waking, at a small extra current draw. |
Earlier releases: CHANGELOG.md.
Generated from the package's reflection data (engine 0.19.0). Property names are the keys used in scene files. Renames keep an alias (compatibility).