char write_Byte(char data) { unsigned char LC[1]; delay(1000000); S0SPDR = data; while(!((S0SPSR & 0x80) == 0x80)); // Wait for the transfer to finish return S0SPDR; // Data from Slave } This is
↧