Serial Port Object

1 Ansicht (letzte 30 Tage)
arman Yaraee
arman Yaraee am 29 Feb. 2012
Hello all. I have a serial port and made an object. my question is this. I have two variables which actually are two pins on the serial port: DataTernimalReady RequestToSend
Now I want to know if I set either of these to 'on' will they output voltage? Because I actually wan to use a RS232 to send voltage to a circuit. Anyone have any suggestions?

Antworten (1)

Walter Roberson
Walter Roberson am 29 Feb. 2012
You will have to ensure that hardware and software flow control are set off for the serial port. The voltages will be off until the port is fopen()'d.
A useful discussion of the hardware end of using RS232 for power is at http://www.analogservices.com/rs232.htm
  1 Kommentar
arman Yaraee
arman Yaraee am 29 Feb. 2012
What do you mean Hardware and software flow control. There is not hardware. I just want the serial to output voltage to a picaxe input. Thx for the fopen() tip but could u explain more on the flow control.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by