简体   繁体   中英

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.

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

为了我的自我,我正在使用jssc库与串口进行通信,并且它工作正常,我在这里它会保持这样的链接: http//code.google.com/p/java-simple-serial -连接器/下载/名单

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM