trying to fix gpio sync issue

master
David Kebler 2017-02-01 22:51:48 -08:00
parent 39b0e43d56
commit cd52c3ffab
1 changed files with 1 additions and 1 deletions

View File

@ -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