PORTS Forum
Ports and Interfaces => Serial Ports => Topic started by: chavantushar on November 11, 2011, 10:12:07 am
-
I want to make serial port continuously ON-OFF using C or C++ or .NET.Can anyone please suggest me code required for it?
-
What do you mean by "continuously ON-OFF"?
Jan
-
In other words you can say "to get 1 and 0(high and low signals) or getting suare wavw at the output of serial port"
-
You can do that only with the handshake signals, the data signal can not be controlled direct, it is driven by the data shift register.
-
Sir,can you please explain in detail?
Thx for ur co-operation.
-
In .NET's SerialPort class, see the RtsEnable and DtsEnable properties.
Jan