Skip to content

Commit

Permalink
EDGE_BOTH
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Aug 20, 2019
1 parent 4920168 commit 9b1c660
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ gpio.on('change', function (channel, value) {
io.sockets.emit('call', 'clear');
}
});
gpio.setup(7, gpio.DIR_IN);
gpio.setup(29, gpio.DIR_IN);
gpio.setup(31, gpio.DIR_IN);
gpio.setup(33, gpio.DIR_IN);
gpio.setup(35, gpio.DIR_IN);
gpio.setup(37, gpio.DIR_IN);
gpio.setup(7, gpio.DIR_IN, gpio.EDGE_BOTH);
gpio.setup(29, gpio.DIR_IN, gpio.EDGE_BOTH);
gpio.setup(31, gpio.DIR_IN, gpio.EDGE_BOTH);
gpio.setup(33, gpio.DIR_IN, gpio.EDGE_BOTH);
gpio.setup(35, gpio.DIR_IN, gpio.EDGE_BOTH);
gpio.setup(37, gpio.DIR_IN, gpio.EDGE_BOTH);

0 comments on commit 9b1c660

Please sign in to comment.