필터 지우기
필터 지우기

Serial Port Object

조회 수: 2 (최근 30일)
arman Yaraee
arman Yaraee 2012년 2월 29일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 29일
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
arman Yaraee
arman Yaraee 2012년 2월 29일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Clocks and Timers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by