Can someone help me??I want to send a bit 0 or 1 from pic16f877 to computer using rs232.Here is my idea.
I define pin_c1 as a input.When there is a input at pin_c1, the pin_c6(xmit) will send bit 1 to comp.When there is no input,the pin_c6 will send bit 0 to comp.
Thanx!!
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
Posted: Sat May 21, 2005 6:29 am
Data is usually sent 8 data bits at a time to a "computer". I think to get better help, you should clearly define what the task that you are trying to do is. Are you simply trying to determine the state of an input on a PIC? What is the computer going to do with this information?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum