Re: >Any help on where my problem is would be greatly appreciated. As I said, >this is very simple, and the fact that nothing happens tells me that I am >just overlooking something very simple. Well, for starters, you seem to be trying to send 24 bits via SPI, but SSPBUF = whatever; will only place the lowest 8 bits of whatever into SSPBUF. It's an 8-bit register, after all ... More importantly, you have a typo. it Shoudl read while (1) // loop forever { ... } not while (1); // loop forever { ... } Didn't the coimpiler complain about "unreachable code"? Regards, -- ______________________________________ Andrew E. Kalman, Ph.D. aek@pumpkininc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu