Introduction - If you have any usage issues, please Google them yourself
a basic program to read from the sensors over i2c. I looked at the source code for RTIMULibDrive11 and the datasheets for HTS221 and LPS25H to build the program. Here is the source code for anyone interested (very simple but it gets the job done).