Skip to content

Commit

Permalink
All test finish
Browse files Browse the repository at this point in the history
  • Loading branch information
monibu1548 committed Sep 10, 2015
1 parent 33db053 commit 810793c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified RaspO2Ogateway/lib/RXTXcomm.jar
Binary file not shown.
Binary file modified RaspO2Ogateway/src/Arduino/ArduinoManager.class
Binary file not shown.
5 changes: 3 additions & 2 deletions RaspO2Ogateway/src/Arduino/ArduinoManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ public ArduinoManager(){
* @return void
*/
void connect( String portName ) throws Exception {

this.portIdentifier = CommPortIdentifier.getPortIdentifier( portName );

System.setProperty("gnu.io.rxtx.SerialPorts", portName);
this.portIdentifier = CommPortIdentifier.getPortIdentifier( "/dev/ttyACM0" );

if( portIdentifier.isCurrentlyOwned() ) {

Expand Down

0 comments on commit 810793c

Please sign in to comment.