#ifndef _SPI_H_ #define _SPI_H_ #include void spi_init(void); static inline void spi_write(uint8_t byte) { SPDR = byte; while(!(SPSR & (1<