remove irq
This commit is contained in:
parent
7b238e67f0
commit
53464f0e6e
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
|
@ -43,13 +43,12 @@ const MPR121_I2CADDR_DEFAULT = 0x5A,
|
|||
|
||||
class MPR121 extends EventEmitter {
|
||||
|
||||
constructor(address, bus, irq, interval) {
|
||||
constructor(address, bus, interval) {
|
||||
|
||||
super();
|
||||
|
||||
this.address = address || MPR121_I2CADDR_DEFAULT;
|
||||
this.bus = Number.isInteger(bus) ? bus : 1;
|
||||
this.irq = irq || false;
|
||||
this.interval = interval || 100;
|
||||
|
||||
this.state = [false, false, false, false, false, false, false, false, false, false, false, false];
|
||||
|
|
|
|||
Loading…
Reference in a new issue