lebohangmaphothoane
Member
can anyone help me to write java code that send two binary bit through rs232 cable. Im doing this project whereby i have created an interface on a computer( look at the attachment). I have created the interface using jframebuilder. The rs232 cable will be connected to the computer and a circuit diagram. i want the program to work like this: if I click the button (open the blinds), 00 must be send from the computer through rs232 cable to the circuit diagram, if I click the button (close the blinfs),01 must be send. if I click the button (Turn on lights), 11 must be send and if I click the button (Turn off lights) 10 must be send.