I am using this library to create a compass that runs alongside reading other sensor data of the BLE 33 Sense. When I try and use the offsets and slope for the accelerometer and magnetometer, the program will completely freeze if I'm using the LPS22HB library to read pressure. It works fine in combination with the the HTS221 Library to read humidity and temperature. I have not tested any of the other libraries used to read data off of the other sensors, so there may be issues with other sensor libraries that I am unaware of. I have attached my code below.
https://github.com/peytonicmaster6/BLE33Sense/blob/main/compass_sensors.ino