May 25, 2015
Adafruit MPR121 on Node.js
Does anyone remember me tweeting about to have made some “Python to NodeJS subprocess” tricks? Well, it did work but two processes on one i2c-bus is nothing linux likes too much. So, here we go: A native NodeJS module for the MPR121. YAY!
https://github.com/dwisk/Node_MPR121
It’s tested on a Beaglebone-Black Rev-C, and worked like a charm so far. I didn’t check all the use cases, but the provided example should work. It’s already in the npm-registry, I hope this might help somebody some hassles :)
npm install mpr121