View Single Post
Old 03-14-2010, 02:10 PM   #25
Double_Dion
Crash and Bang Winger
 
Join Date: Mar 2007
Exp:
Default

Quote:
Originally Posted by TheyCallMeBruce View Post
I see your problem. I fixed it for you.

void setup_spi()
{

SPI1CON = 0x063E; // 0000 | 0110 | 0011 | 1110
SPI1STAT = 0x8000; // enable SPI port

printf("Goodbye World.\n");

return;
}
Better.
Double_Dion is offline   Reply With Quote