I also made it less confusing for the user (hopefully) and added examples for the Edge and Edge2 board demonstrating how to use the accelerometer. (These examples should be easy to port to another board that features the LIS2DH12 thanks to the BSP abstraction)
Sorry for so many commits - it is a product of how I was testing the changes.
I've made it easier to:
I also made it less confusing for the user (hopefully) and added examples for the Edge and Edge2 board demonstrating how to use the accelerometer. (These examples should be easy to port to another board that features the LIS2DH12 thanks to the BSP abstraction)
Sorry for so many commits - it is a product of how I was testing the changes.