spi_init(SPI_MASTER); DDRB = 0x06; spi_putchar(0xAA); spi_putchar(0x55); while(!spi_test_hit()); temp=spi_getchar(); spi_putchar(temp); while(1);