I spent a little bit of time trying to get UPM (Useful Packages & Modules) running on a Raspberry Pi 2.
I think this is a way to go. A LOT of devices are supported here.
http://iotdk.intel.com/docs/master/upm/modules.html
One dependency is MRAA , from the web page
“MRAA is a low level library that offers a translation from the General Purpose Input/Output interfaces to the pins available on Intel Galileo or Edison. So instead of reading the raw level information from the GPIO module available on the Linux kernel, a developer can easily select a pin number and work directly with it. MRAA will take care of the underlying details”
Weird, I haven’t found what MRAA stands for, but here is the download
http://iotdk.intel.com/docs/master/mraa/
I installed some dependencies using the following command.
apt-get install git build-essential swig3.0 python-dev nodejs-dev cmake
Then I grabbed each github source
and did a cmake (with some options set), make and make install.
On the workout front, I did hit the gym today. Just presses and leg extensions. Baby steps.