>Has anyone used the CTS bit with Quick Basic to communicate to a >PIC? I have been trying to get a basic program to wait until the >PIC asserts the CTS bit without any success. I can flip the CTS >bit with a PIC pin and the basic program sees the status on the >CTS bit but I can't seem to get the handshaking set up correctly. >I will be glad to ship the code to anyone that will look at it >and tell me what I am doing wrong. > >Any help will be most appreciated If there are any characters in the PC Uart buffer when CTS is raised, they will still be sent to the PIC. If you have no buffering in the PIC to receive these characters then you may loose them. The CTS flag has to be operated on by the PC Host software to stop sending characters, it is not automatic in the hardware. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics