![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hi people, i have a big problem: Since a few days i try to receive a serial stream from port "com1". I can already send strings through "com1" with only 25 lines of code but i can not receive something. The way i want to go is the one with the SerialPortEventListener and not a thread (or do i need a thread?). Does anyone can tell me the SHORTEST way to receive Characters into a string from "com1" ??? The examples delivered with the package are too complex and dont work in my program. In case of a serialEvent they produce a NullPointerException and so on. Does someone has a simple code-example ??? Replies:
|
Sponsored Links
|