I’m trying to port the Adafruit ADS1x15 libary to Spark. I’ve got the 16 bit ADS1115, but the libraries are written for a few versions. The problem is that I’ve got no clue what i’m doing. I’ve searched and searched the forums here to no avail. I can program in a few other languages, but these compiled languages really throw me for a loop. I am failing first to understand how to even use libraries that don’t exist. I started trying to use an example Arduino SOS library to learn and use in place of the Tinker app, but I even failed there.
My ultimate goal is to be able to use my ADC, but I genuinely wan’t to know how to port libraries on my own, I just don’t know where to start and have the experience to do so.
- To test code, don’t I just click the + button and add the .cpp and .h file code then “verify”?
- Do I replace
#include <application.h>or something else?
Thanks in advance for advice or help!