Private
Public Access
2
0

examples/java: input pin number should be parsed in base 10, not in base 8, similar to c++ sample

Signed-off-by: Eugene Smirnov <o1o2o3o4o5@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Evgen48
2016-03-09 21:35:36 +00:00
committed by Brendan Le Foll
parent 887acf54e1
commit 800c89bfa4

View File

@@ -50,7 +50,7 @@ public class BlinkIO {
if (argv.length == 0) { if (argv.length == 0) {
System.out.println("Provide an int arg if you want to flash on something other than " + DEFAULT_IOPIN); System.out.println("Provide an int arg if you want to flash on something other than " + DEFAULT_IOPIN);
} else { } else {
iopin = Integer.valueOf(argv[0], DEFAULT_IOPIN); iopin = Integer.valueOf(argv[0]);
} }
//! [Interesting] //! [Interesting]