#include #define F_CPU 1000000UL #include #include volatile uint8_t Count = 0x60; unsigned char received = 0b00000000; //Variable für empfangene Daten unsigned char tData = 0b10101110; //Daten die übertragen werden sollen void SPI_MasterInit(void) { // MOSI und SCK als Ausgang, alle anderen als Eingang DDRB |= (1<