MPR121 Library for Node.js
Access a MPR121 breakout using Node.js from a Raspberry Pi or BeagleBone Black.
Installation
This library requires Node.js v6.0.0 or higher.
$ npm install adafruit-mpr121
Example
const MPR121 = mpr121 = 0x5A 1; // listen for touch eventsmpr121; // listen for release eventsmpr121; // listen for changes to the state of a specific pinmpr121; // check the current state of a specific pin synchronouslyconst state = mpr121;console;
License
Copyright (c) 2016 Adafruit Industries. Licensed under the MIT license.