LIS3DH sensor is giving me huge offset when just resting on a table.
While flashing the LIS3DH I accidentally commented out a block of code causing read/writes of unintended registers. Below is the code which caused it. static void read_accel(void){ uint16_t MOSI = 0xA9; uint32_t MISO; int8_t dataRec; uint8_t i = 0; f...