Thread
:
dsPic30F3014 SPI interfacing
View Single Post
03-14-2010, 01:48 AM
#
24
TheyCallMeBruce
Likes Cartoons
Join Date: Apr 2004
Exp:
I see your problem. I fixed it for you.
void setup_spi()
{
SPI1CON = 0x063E; // 0000 | 0110 | 0011 | 1110
SPI1STAT = 0x8000; // enable SPI port
printf("Hello World.\n");
return;
}
TheyCallMeBruce
View Public Profile
Send a private message to TheyCallMeBruce
Find More Posts by TheyCallMeBruce