How to get Javelin Stamp output in Java program (SRF04 Sensor)
Hi guys,
I am using a SRF04 sensor which is connected to Javelin Stamp Module.· The javelin program is displaying the output received·from serial port on the javelin terminal.· Because my entire project is written in java, I need this output to be used in java program·intead of javelin.· I am having difficulty obtaining this data in java program.· I tried reading from serial port in java program but the BufferReader.readLine() method does not return·and the program waits at this line forever but I have tested and ensured that there's data on serial port.· This is for my final year Engineering project.· Any help is appreciated.· Thanks.·
I am using a SRF04 sensor which is connected to Javelin Stamp Module.· The javelin program is displaying the output received·from serial port on the javelin terminal.· Because my entire project is written in java, I need this output to be used in java program·intead of javelin.· I am having difficulty obtaining this data in java program.· I tried reading from serial port in java program but the BufferReader.readLine() method does not return·and the program waits at this line forever but I have tested and ensured that there's data on serial port.· This is for my final year Engineering project.· Any help is appreciated.· Thanks.·
Comments
to receive by a java program running on the pc?
regards peter