i want to send some bits to parallel or serial port. i am confused to use which port. after sending them, i want to use some LED to see wheather the bits are transmitted correctly. this i want to do it using Java, so can i use java comm api or any other api is available for this. Please help me, it's very urgent.