PDA

View Full Version : Serial port communications in java


sandeep_8482
02-25-2006, 04:20 PM
I've a C program that implements the protocol b/w microcontroller and computer through serial port. I just wanna know if I can reprogram this using Java or should I use the J N I. One module of the C program is burnt into the microcontroller. The other corresponding part runs as a normal C program in the computer. I've implemented the Round Robin scheduling by sending codes that correspond to addresses from the computer to the microcontrollers through the serial port. Only the microcontroller whose address code is being sent would respond and continue through its transmission during the slot. In this way I give each and every microcontroller attached to the single serial port a chance to send its data in a Round Robin fashion.

nopl1234
02-19-2009, 01:45 PM
Take a look at www.codeglobe.blogspot.com