From acdd758e56e28f22846e7d34d87f5533c8682574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 8 Oct 2015 20:59:26 +0200 Subject: Add implementation of USART and more ground changes --- mcu/ATmega328P.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mcu/ATmega328P.h') diff --git a/mcu/ATmega328P.h b/mcu/ATmega328P.h index dc42233..b5527bf 100644 --- a/mcu/ATmega328P.h +++ b/mcu/ATmega328P.h @@ -5,6 +5,7 @@ #include // SPI +#define MCUSUPPORT_SPI #define DDR_SPI DDRB #define DD_SS DDB2 #define DD_MOSI DDB3 @@ -15,3 +16,5 @@ #define PORT_MOSI PORTB3 #define PORT_MISO PORTB4 #define PORT_SCLK PORTB5 +// USART +#define MCUSUPPORT_USART -- cgit v1.2.3