Collection of various sensor drivers compatible with C/C++ projects, intended to support a variety of microcontrollers.
Navigate to the relevent sensor's folder and read the README. Each sensor will require a communication interface. For example the MPL3115A2S altimeter requires the I2CPeripheral_Interface.h file which contains two function declarations that the user must define for the particular microcontroller in any new .c
file, a basic example using STM32's HAL can be found in I2CPeripheral_STM32HAL.c.
MPL3115A2S NXP Pressure Sensor with Altimetry Support (Datasheet)
- I2C interface, currently supports various configurations for polling and interrupt modes.
Each folder contains documentation for that device driver.