From 082a9165f0aceed31f659a4c2568f8c473e417ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 14 Mar 2015 11:38:29 +0100 Subject: Add required mcu specifications Added mcu specification for previous commits. --- mcu/ATtiny85.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mcu/ATtiny85.h (limited to 'mcu/ATtiny85.h') diff --git a/mcu/ATtiny85.h b/mcu/ATtiny85.h new file mode 100644 index 0000000..9ecbbcc --- /dev/null +++ b/mcu/ATtiny85.h @@ -0,0 +1,11 @@ +/* This is specific configuration for ATtiny85. + * This configuration also applies on ATtiny45 and ATtiny25. + */ +#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 -- cgit v1.2.3