From 49ebb18b621508e624c19dbd80c5b383ecc03fd0 Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Sat, 9 Sep 2017 20:48:11 +0100 Subject: [PATCH] correct Tiny1634 shield pins --- utility/pin_shield_1.h | 44 ++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/utility/pin_shield_1.h b/utility/pin_shield_1.h index 2a15734..9b90bfa 100644 --- a/utility/pin_shield_1.h +++ b/utility/pin_shield_1.h @@ -714,45 +714,43 @@ #elif defined(__AVR_ATtiny1634__) #include // - #define D0_PORT PORTA + #define D0_PORT PORTA //PA7 #define D0_PIN 7 - #define D1_PORT PORTB + #define D1_PORT PORTB //PB0 #define D1_PIN 0 - #define D2_PORT PORTA - #define D2_PIN 0 - #define D3_PORT PORTA + #define D2_PORT PORTC //PC2 + #define D2_PIN 2 + #define D3_PORT PORTA //PA3 #define D3_PIN 3 - #define D4_PORT PORTA + #define D4_PORT PORTA //PA4 #define D4_PIN 4 - #define D5_PORT PORTB - #define D5_PIN 3 - #define D6_PORT PORTA + #define D5_PORT PORTC //PC4 + #define D5_PIN 4 #define D6_PIN 1 - #define D7_PORT PORTA #define D7_PIN 0 - #define D8_PORT PORTA + #define D8_PORT PORTA //PA2 #define D8_PIN 2 - #define D9_PORT PORTB - #define D9_PIN 2 - #define D10_PORT PORTA + #define D9_PORT PORTC //PC5 + #define D9_PIN 5 + #define D10_PORT PORTA //PA6 #define D10_PIN 6 - #define D11_PORT PORTB + #define D11_PORT PORTB //PB2 #define D11_PIN 2 - #define D12_PORT PORTB + #define D12_PORT PORTB //PB1 #define D12_PIN 1 - #define D13_PORT PORTC + #define D13_PORT PORTC //PC1 #define D13_PIN 1 - #define A0_PORT PORTB + #define A0_PORT PORTB //PB3 #define A0_PIN 3 - #define A1_PORT PORTC + #define A1_PORT PORTC //PC0 #define A1_PIN 0 - #define A2_PORT PORTA + #define A2_PORT PORTA //PA5 #define A2_PIN 5 - #define A3_PORT PORTB + #define A3_PORT PORTB //PB2 #define A3_PIN 2 - #define A4_PORT PORTB + #define A4_PORT PORTB //PB1 #define A4_PIN 1 - #define A5_PORT PORTC + #define A5_PORT PORTC //PC1 #define A5_PIN 1 #else #error MCU unselected