Instead of just criticizing, if you have a better suggestion would it not be courteous to explain it? This method has worked fine for me to date. -----Original Message----- From: Scott Dattalo [mailto:scott@DATTALO.COM] Sent: Monday, August 06, 2001 10:47 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Need SPI code for 16F877 On Mon, 6 Aug 2001, Sam Linder wrote: > Brandon: > Here's some SPI code I wrote for the PIC16F877. Hope it works for you. If > you have any questions, let me know. > bsf SCLK // set SCLK high > bcf SCLK // set SCLK low Are you sure that's the way you want to toggle an I/O? It probably works fine, most of the time.... butt... Scott -- 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 -- 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