Skip to content

Commit ca844c3

Browse files
committed
Merge pull request #14 from LouTerrailloune/patch-1
FIX: blink.js example not using the ```pin``` variable in ```pinMode``` call
2 parents 5af1744 + 3004208 commit ca844c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/blink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ wpi.setup('wpi');
44

55
var pin = 0;
66

7-
wpi.pinMode(0, wpi.OUTPUT);
7+
wpi.pinMode(pin, wpi.OUTPUT);
88

99
var value = 1;
1010

0 commit comments

Comments
 (0)