fix toggleall issue
parent
c83c0914b7
commit
a7ea2e2372
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue