Skip to content

Commit

Permalink
use pin variable for init
Browse files Browse the repository at this point in the history
  • Loading branch information
LouTerrailloune committed Jan 7, 2015
1 parent 5af1744 commit 3004208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/blink.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ wpi.setup('wpi');

var pin = 0;

wpi.pinMode(0, wpi.OUTPUT);
wpi.pinMode(pin, wpi.OUTPUT);

var value = 1;

Expand Down

0 comments on commit 3004208

Please sign in to comment.