This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-CC2640R2: Adding and using Arduino library files (.cpp and .h) into project

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: ENERGIA, CC2650, CC2640

Tool/software: Code Composer Studio

I would like to read data from a CO2 sensor (CCS811). Currently I've written a few of my own functions to read the data in the main .c file which works.

However, I would like to know if it is possible to use the CCS811 library files (.cpp and .h) provided by Adafruit?

And if so, what are the steps needed to be able to use the C++ library files with my C code? 

Thank you.