| Author |
Message |
muhammedan
Joined: 18 Feb 2009 Posts: 5
|
28 Feb 2009 13:34 serial port |
|
|
|
|
| hello everybody.I want catch directly 1Hz frequency from pin's of com port (in other word if i connect one led directly to the serial port it regularly on and off).Is it operative and how?
|
|
| Back to top |
|
 |
maheshkuruganti
Joined: 18 May 2007 Posts: 108 Helped: 3
|
07 Mar 2009 7:25 serial port |
|
|
|
|
| It can be done very easily. What language are you using ??
|
|
| Back to top |
|
 |
saubhik
Joined: 27 Apr 2007 Posts: 141 Helped: 8 Location: India
|
10 Mar 2009 5:07 Re: serial port |
|
|
|
|
| muhammedan wrote: |
| hello everybody.I want catch directly 1Hz frequency from pin's of com port (in other word if i connect one led directly to the serial port it regularly on and off).Is it operative and how? |
Man ....
U r using which type of serial comm RS232 .... then to check that ur serial port is working or not just short pin nos 2 & 3 with any metal body and open Hyperterm of the PC and check that whatever you are writing is getting back to u or not .....
if it is then the comm lines are healthy ....else it is faulty .....[ ]
|
|
| Back to top |
|
 |
Google AdSense

|
10 Mar 2009 5:07 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
muhammedan
Joined: 18 Feb 2009 Posts: 5
|
12 Mar 2009 14:35 Re: serial port |
|
|
|
|
| I am using c++ language.
|
|
| Back to top |
|
 |
mezo
Joined: 16 Jul 2007 Posts: 82 Helped: 4 Location: Egypt
|
17 Mar 2009 17:50 serial port |
|
|
|
|
This is good you see that link:
i have made this type of interface with microcontroller
AT89c52 connected with LEDs.
http://www.edaboard.com/viewtopic.php?t=317207&highlight=
|
|
| Back to top |
|
 |
abo_obayd
Joined: 03 May 2009 Posts: 4 Location: Egypt
|
03 May 2009 16:09 Re: serial port |
|
|
|
|
Hi There!,
I think in your case u need to use the RTS pin.
The EscapeCommFunction API enables u to do so.
u can find it here:
http://msdn.microsoft.com/en-us/library/aa363254(VS.85).aspx
just use the RTS setting function and and sleep function.
I hope that helped.
|
|
| Back to top |
|
 |