Thank you everyone for your inputs. I am going to implement the way Olin suggested. This is because my command byte and data byte can be anything from 0x00 to 0xff. Thanks again! Thomas -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of D. Jay Newman Sent: Tuesday, December 17, 2002 6:30 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: SPI Protocol > I posted this message before but my Email setting was set to NOMAIL for > some unknown reasons. So I didn't get a reply from any of you. This > was the message I posted before: Check the archives. There have been *many* responses to this question. -- D. Jay Newman ! I can bring whole cities to ruin, jay@sprucegrove.com ! And still have time to get a soft-shoe in... http://enerd.ws/ ! -- from Buffy, "Once More with Feeling" -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu