mixer-slider/firmware/slider/comm.c

15 lines
190 B
C
Raw Normal View History

2019-02-13 15:18:38 +01:00
/*
* 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);
}