mixer-slider/firmware/comm.c

15 lines
190 B
C

/*
* comm.c
*
* Created on: 13.02.2019
* Author: julian
*/
#include <avr/io.h>
void comm_init()
{
DDRA |= (1<<PA5); // setup MOSI as output
USICR = (1<<USIWM0)|(1<<USICS1);
}