Are your ports initialized properly? I don't know how C PIC compilers work, if they automatically change register pages or not. Jeff ----- Original Message ----- From: Ed Troy > I have a very simple application for a pic 16c74b. (Yes, I know it is gross > overkill, but that is what we are using.) Basically, it is being used to > program two National Semiconductor synthesizers. They use the standard SPI > bus, which has a data, a clock, and an enable line. I am using (or at least > trying to use) RC5 for data, RC3 for clock, and RC2 for low synthesizer > enable and RC1 for high synthesizer enable. The code seems to do nothing at > all, in either MPLAB or on the actual board. Basically, nothing toggles or > does ANYTHING! I am sure I am doing something incredibly stupid, or lacking -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu