tags:

views:

84

answers:

2

can anyone give me a simple code for reading a byte from serial port... to start with i wish not to have many functions in it... is there any step wise approach where i can get the details....

a sample program to start using different functions associated with the serial port...any samples plz...

+1  A: 

start with this http://java.sun.com/products/javacomm/

and this should be what you are looking for ... http://java.sun.com/products/javacomm/reference/docs/API%5Fusers%5Fguide%5F3.html

mhmm it used to work for win98, but i guessed they removed it.

zeroin23
http://stackoverflow.com/questions/264469/java-rs-232-communication-on-windows
zeroin23
A: 

Can you suggest a component jSSC (Java Simple Serial Connector). Examples of work with the component can be found here: jSSC Examples

scream3r