Skip to content

Commit

Permalink
examples/java: input pin number should be parsed in base 10, not in b…
Browse files Browse the repository at this point in the history
…ase 8, similar to c++ sample

Signed-off-by: Eugene Smirnov <[email protected]>
Signed-off-by: Brendan Le Foll <[email protected]>
  • Loading branch information
evgen48 authored and arfoll committed May 4, 2016
1 parent 887acf5 commit 800c89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/java/BlinkIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void main(String argv[]) throws InterruptedException {
if (argv.length == 0) {
System.out.println("Provide an int arg if you want to flash on something other than " + DEFAULT_IOPIN);
} else {
iopin = Integer.valueOf(argv[0], DEFAULT_IOPIN);
iopin = Integer.valueOf(argv[0]);
}

//! [Interesting]
Expand Down

0 comments on commit 800c89b

Please sign in to comment.