increase mpr121 touch threshold default to 24
This commit is contained in:
parent
069307c18c
commit
59ca024174
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue