correct Tiny1634 shield pins

This commit is contained in:
prenticedavid
2017-09-09 20:48:11 +01:00
parent a08c5dc71b
commit 49ebb18b62

View File

@@ -714,45 +714,43 @@
#elif defined(__AVR_ATtiny1634__) #elif defined(__AVR_ATtiny1634__)
#include <avr/io.h> #include <avr/io.h>
// //
#define D0_PORT PORTA #define D0_PORT PORTA //PA7
#define D0_PIN 7 #define D0_PIN 7
#define D1_PORT PORTB #define D1_PORT PORTB //PB0
#define D1_PIN 0 #define D1_PIN 0
#define D2_PORT PORTA #define D2_PORT PORTC //PC2
#define D2_PIN 0 #define D2_PIN 2
#define D3_PORT PORTA #define D3_PORT PORTA //PA3
#define D3_PIN 3 #define D3_PIN 3
#define D4_PORT PORTA #define D4_PORT PORTA //PA4
#define D4_PIN 4 #define D4_PIN 4
#define D5_PORT PORTB #define D5_PORT PORTC //PC4
#define D5_PIN 3 #define D5_PIN 4
#define D6_PORT PORTA
#define D6_PIN 1 #define D6_PIN 1
#define D7_PORT PORTA
#define D7_PIN 0 #define D7_PIN 0
#define D8_PORT PORTA #define D8_PORT PORTA //PA2
#define D8_PIN 2 #define D8_PIN 2
#define D9_PORT PORTB #define D9_PORT PORTC //PC5
#define D9_PIN 2 #define D9_PIN 5
#define D10_PORT PORTA #define D10_PORT PORTA //PA6
#define D10_PIN 6 #define D10_PIN 6
#define D11_PORT PORTB #define D11_PORT PORTB //PB2
#define D11_PIN 2 #define D11_PIN 2
#define D12_PORT PORTB #define D12_PORT PORTB //PB1
#define D12_PIN 1 #define D12_PIN 1
#define D13_PORT PORTC #define D13_PORT PORTC //PC1
#define D13_PIN 1 #define D13_PIN 1
#define A0_PORT PORTB #define A0_PORT PORTB //PB3
#define A0_PIN 3 #define A0_PIN 3
#define A1_PORT PORTC #define A1_PORT PORTC //PC0
#define A1_PIN 0 #define A1_PIN 0
#define A2_PORT PORTA #define A2_PORT PORTA //PA5
#define A2_PIN 5 #define A2_PIN 5
#define A3_PORT PORTB #define A3_PORT PORTB //PB2
#define A3_PIN 2 #define A3_PIN 2
#define A4_PORT PORTB #define A4_PORT PORTB //PB1
#define A4_PIN 1 #define A4_PIN 1
#define A5_PORT PORTC #define A5_PORT PORTC //PC1
#define A5_PIN 1 #define A5_PIN 1
#else #else
#error MCU unselected #error MCU unselected