fix toggleall issue

master
David Kebler 2017-06-02 00:11:31 -07:00
parent c83c0914b7
commit a7ea2e2372
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class MCP23008 extends aggregate(Device, EventEmitter) {
async allToggle(port = 'A') {
let pins = 255
await this.writePort('toggle', port)
await this.writePort(pins, 'toggle', port)
}
async force(pins, port, format) {