point mpr121 package at npm
This commit is contained in:
parent
a677c110dc
commit
e578c9d7bc
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ class UI extends EventEmitter {
|
||||||
|
|
||||||
mprInit() {
|
mprInit() {
|
||||||
|
|
||||||
const MPR121 = require('mpr121'),
|
const MPR121 = require('adafruit-mpr121'),
|
||||||
mpr121 = new MPR121(0x5A, 1);
|
mpr121 = new MPR121(0x5A, 1);
|
||||||
|
|
||||||
mpr121.setThresholds(24, 12);
|
mpr121.setThresholds(24, 12);
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,6 @@
|
||||||
"wget-improved": "^1.3.0"
|
"wget-improved": "^1.3.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"mpr121": "adafruit/node_mpr121"
|
"adafruit-mpr121": "^1.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue