#define F_CPU 6000000UL #define BAUD 9600 #define UBRR F_CPU/16/BAUD-1 #define DD_MOSI PB3 #define DD_MISO PB5 #define DD_SCK PB5 #define DDR_SPI DDRB #define SS PB2 #include #include #include void SPI_SlaveInit(void); char SPI_SlaveReceive(void); void usart_init(unsigned int); void usart_tx(unsigned char); volatile uint8_t plant[] = {0x41,0x42,0x43,0x44,0x45,0x46}; /* Limits * Low Normal * Chili 3.83V 2.85V * * */ int main() { ADMUX = (1<>8); UBRR0L = (unsigned char)baud; UCSR0B = (1<