while(UCB0STAT&UCBUSY);// wait for SPI TX/RX to finish
// save recieved data
SPI_packet[SPI_packetC]=UCA0RXIFG;
SPI_packet[SPI_packetC]=UCA0RXBUF;
// increase counter for next byte
SPI_packetC++;
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.