Jump to content


Photo

pcDuino v2 RXTXcomm.jar issues

rxtx

  • Please log in to reply
1 reply to this topic

#1 WillScott

WillScott

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 12 December 2015 - 09:54 PM

Hi;

 

I am trying to get my pcDuino (v2) to talk to a botboarduino (http://www.lynxmotio...tboarduino.aspx) via usb using Java with the rxtxComm.jar library.

 

At the moment I'm trying to get the SerialTest to work http://playground.ar...nterfacing/Java but my problem comes during initialise() where the following line is called:

Enumeration portEnum = CommPortIdentifier.getPortIdentifiers();

 

The code stops at this point without raising an error (note I'd attach the code but not permitted).  I've seen people communicate with Arduinos so I know it can be done.

 

Does anyone have a solution?

Thanks

 

Will

 

 



#2 youkee

youkee

    Advanced Member

  • Administrators
  • 237 posts

Posted 14 December 2015 - 12:21 AM

Hi,

I guess  http://playground.ar...nterfacing/Java  is not compatible with pcDuino2.

please try JavaSript, 

http://johnny-five.io

 

Hope it will help you!







Also tagged with one or more of these keywords: rxtx

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users