Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed to set pinmode
  • Loading branch information
amd11037 committed Apr 17, 2015
1 parent 9d9f5da commit 94b70dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LEDDemo.java
Expand Up @@ -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));
Expand Down

0 comments on commit 94b70dc

Please sign in to comment.