Good evening, I am using C30 compiler and dsPIC33EP128MC506. My SPI functions are the following: //SPI transmission
void wspi(unsigned char data){ unsigned char temp; temp = SPI1BUF; SPI1BUF = data; while (!SPI1STATbits.SPIRBF);
}//SPI reception
unsign..
↧