Skip to content

Commit

Permalink
fix(proximity): configure Gpio
Browse files Browse the repository at this point in the history
  • Loading branch information
ovaar committed Jun 26, 2019
1 parent 16b16b6 commit 6b38dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
@@ -1,5 +1,5 @@
const Gpio = require("onoff").Gpio;
const proximity = new Gpio(4, "out");
const proximity = new Gpio(4, "in", "rising");

try {
var timer = startTimer();
Expand Down

0 comments on commit 6b38dc8

Please sign in to comment.