Excalibur
Excalibur

Reputation: 467

Java Interface with serial port

I am looking for a library interface to allow me to check what has been posted to a serial port.

To be more precise, I am using a teensy 2.0 to interface with a button. I want to run code within the program without simulating a key press, and thought that printing something to serial would be a easy way to connect to the Java program.

Upvotes: 3

Views: 637

Answers (2)

OddDev
OddDev

Reputation: 1611

For my self I'm using the jssc library to communicate with the serial port and it's working fine and I here it'll stay that way here's the link : http://code.google.com/p/java-simple-serial-connector/downloads/list

Upvotes: 0

Paweł Kłeczek
Paweł Kłeczek

Reputation: 643

I've once used RxTx library to establish a communication channel between PC and an external MCU via USB port. Worked fine : )

Upvotes: 3

Related Questions