Question About Using Serial Ports
Hello. I want to start on a project in which I write the driver software to operate and program a robot arm toy. The toy uses two RS-232 DE-9 serial ports where the wired joysticks are connected. Once upon a time these same toys could be hooked up to an MSX computer and controlled via their serial ports.
What I want to do is connect two serial cables from my computer directly to the toy and then write some software in Java to control it. The toy operates not by sending complex data to the serial ports but rather by connecting pins together. For example, connecting pin 2 to pin 9 in the right serial connector on the toy may cause the pincers to close, etc. The toy has its own power source of 6V (6 volts also runs through the serial pins when you connect them).
Is there a way to do this in Java? Any Packages or Classes that will help me?