From 9447247c1ab0b0a02c5ec87c138135953986975c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 22 Mar 2015 13:58:58 +0100 Subject: mcu definitions change and update --- mcu/ATtiny85.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'mcu/ATtiny85.h') diff --git a/mcu/ATtiny85.h b/mcu/ATtiny85.h index 9ecbbcc..57f53e7 100644 --- a/mcu/ATtiny85.h +++ b/mcu/ATtiny85.h @@ -3,9 +3,12 @@ */ #include -#define USI_DIR_REG DDRB -#define USI_OUT_REG PORTB -#define USI_IN_REG PINB -#define USI_USCK_PIN PORTB2 -#define USI_DO_PIN PORTB1 -#define USI_DI_PIN PORTB0 +// SPI USI +#define DDR_USI DDRB +#define DD_DI DDB0 +#define DD_DO DDB1 +#define DD_USCK DDB2 +#define PORT_USI PORTB +#define PORT_DI PORTB0 +#define PORT_DO PORTB1 +#define PORT_USCK PORTB2 -- cgit v1.2.3