Hi
I have tried for hours and hours to work this out as well as scanning the internet, but still am no closer as to how to do this?
Briefly the code receives data from the Serial Port on a PC (this i have working)
Eventually this data gets stored in = buffer.
I wish to use this data in another class to be sent to a jTextField (i think i know how to do this)
But do not know how to get the buffer data back to my main class ? (for
testing purposes and to check it works)
The part i require help on is in "public static class SerialReader implements Runnable" and marked
>>>>>>>>>>>>>>>>>>>>>>> HOW TO RETURN THIS BUFFER TO MAIN? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I have commented the code a lot so should help.
Thanks if you can help!
Regards Gary