From 94b70dc87744a090dee93f129235751c078ae973 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 16 Apr 2015 22:53:36 -0400 Subject: [PATCH] Fixed to set pinmode --- LEDDemo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LEDDemo.java b/LEDDemo.java index 40d3da0..c93e638 100644 --- a/LEDDemo.java +++ b/LEDDemo.java @@ -14,6 +14,8 @@ public class LEDDemo { Arduino ard = new Arduino("/dev/cu.usbserial-AD01VFL0"); //change this //connect the Arduino ard.connect(); + //set the pinmode + ard.pinMode(13, 'o'); // <--- new String params; String JSONResponse; BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));