Read from the com port
Posted on 1998-04-02
I have used the method below to open and write to the com port.
I wonder if anybody can help me write a method which reads from the com port.
Please show some example code though I'm not very skilled in JAVA coding, yet :-)
public void printCom1(String OutPrint)
if (OutPrint != "")
PrintWriter out = null;
out = new PrintWriter(new BufferedWriter(new FileWriter("Com1")));
catch ( IOException e)