increase mpr121 touch threshold default to 24

This commit is contained in:
Todd Treece 2016-06-07 12:42:49 -04:00
parent 069307c18c
commit 59ca024174

View file

@ -40,7 +40,7 @@ class UI extends EventEmitter {
const MPR121 = require('mpr121'),
mpr121 = new MPR121(0x5A, 1);
mpr121.setThresholds(16, 12);
mpr121.setThresholds(24, 12);
mpr121.on('touch', (pin) => {
if(pin === 0) this.skip();