|
I2C LSM9DS1 RaspberryPI C++ Library
|
Hardware related settings. More...
#include <LSM9DS1.h>
Public Attributes | |
| uint8_t | agAddress = LSM9DS1_AG_ADDR |
| I2C acceleromter address. | |
| uint8_t | mAddress = LSM9DS1_M_ADDR |
| I2C magnetometer address. | |
| unsigned | i2c_bus = LSM9DS1_DEFAULT_I2C_BUS |
| Default I2C bus number (most likely 1) | |
| unsigned | drdy_gpio = LSM9DS1_DRDY_GPIO |
| Data ready pin (INT2) of the accelerometer. | |
| bool | initPIGPIO = true |
| If set to true the pigpio library is initialised with signals disabled. More... | |
Hardware related settings.
| bool DeviceSettings::initPIGPIO = true |
If set to true the pigpio library is initialised with signals disabled.
You can do your own init when setting to false before calling begin().