Access the MPR121 chipset via node-i2c
Port of Adafruit_Python_MPR121 to node.js. So far tested on a beaglebone-black rev-c. But it should work on other devices as RasberryPi as well.
Showing a simple loop reading the touch status every 0.1ms
// get libraryvar MPR121 = ;// setup sensor device id 0x5A and i2c-bus 1var touchsensor = 0x5A 1;// initialize sensor, on success start scriptif touchsensor// message how to quitconsole;// Interval for reading the sonsor;;