trying to fix gpio sync issue
parent
39b0e43d56
commit
cd52c3ffab
|
@ -35,7 +35,7 @@ class MCP23008 extends Device {
|
|||
}
|
||||
|
||||
pin(id) { return this.ports.A.pin(id) } // get a reference to a particular pin's object
|
||||
pid(address) { return this.ports.A.pid(address) }
|
||||
pid(address) { return this.ports.A.pid(address) } // return pin id for a given address on a port
|
||||
|
||||
inter(port = 'A') {
|
||||
return this.ports[port].interrupt
|
||||
|
|
Loading…
Reference in New Issue