|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
27 reg = (mode == LIS3DH_BDUMODE_CONSISTENT) ? reg | LIS3DH_MASK_BDUMODE : reg & ~LIS3DH_MASK_BDUMODE;
void lis3dh_setBDUmode(lis3dh_t *device, int mode)
Sets the sensor BDU (Block Data Update) mode.
void lis3dh_writeByte(lis3dh_t *device, unsigned char address, unsigned char value)
write a byte value to an LIS3DH register
Simplifies reading Parallax LIS3DH 3-Axis Accelerometer Module with ADC.
unsigned char lis3dh_readByte(lis3dh_t *device, unsigned char address)
Read a value from an LIS3DH register.