|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
28 if (adcEnable) { r |= 0b10000000; }
29 if (tempEnable) { r |= 0b01000000; }
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.
void lis3dh_setADCmode(lis3dh_t *device, int adcEnable, int tempEnable)
Sets ADC mode for the Parallax LIS3DH 3-Axis Accelerometer Module.