> >how about something like this: >wait till 1/2 of a bit has gone by. >check the pin >if the pin is high, set bit #0 high in recieve register >If the pin is low, set bit #0 low in reciever register. >wait a FULL BIT LENGTH, minus the time for the test. I did this for a UART in the F84, worked great. -- Dave's Engineering Page: http://www.dvanhorn.org Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body