Thanks, I have tried to isolate my code and keep getting an error "java.lang.nullpointerexception" does anybody know why this error comes, the documantation for this library that I have found os not very helpful!
public void start()
// portid1.open("start", 2000);
serialPort1 = (SerialPort) portid1.open("connect", 2000);
catch (Exception e)
I have tried both the uncommmented line and the commmented line of code and still get the same error!
Hey Paul S Also I have tried adding up to a six second delay before sending the data to the board (using the previous code)
but it still didnt work!