diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-08-25 12:04:38 -0600 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-08-25 12:04:38 -0600 |
commit | d7544276df64e7b2648989d0b0c91471f96f87dd (patch) | |
tree | a7a114ee6f07c4886ad1ab1232b35ea731ecdbe6 | |
parent | 2c6c60537286cc26b87f3168b0545600d666aae2 (diff) | |
download | Sensor-Watch-d7544276df64e7b2648989d0b0c91471f96f87dd.tar.gz Sensor-Watch-d7544276df64e7b2648989d0b0c91471f96f87dd.tar.bz2 Sensor-Watch-d7544276df64e7b2648989d0b0c91471f96f87dd.zip |
add definitions for pin A3/A4 (same as D0/D1)
-rw-r--r-- | watch-library/hw/atmel_start_pins.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/watch-library/hw/atmel_start_pins.h b/watch-library/hw/atmel_start_pins.h index 28dc9919..7a3a7d78 100644 --- a/watch-library/hw/atmel_start_pins.h +++ b/watch-library/hw/atmel_start_pins.h @@ -44,11 +44,13 @@ #define BTN_LIGHT GPIO(GPIO_PORTA, 22) #define BTN_MODE GPIO(GPIO_PORTA, 23) #define BUZZER GPIO(GPIO_PORTA, 27) -#define D1 GPIO(GPIO_PORTB, 0) +#define A0 GPIO(GPIO_PORTB, 4) #define A1 GPIO(GPIO_PORTB, 1) #define A2 GPIO(GPIO_PORTB, 2) +#define A3 GPIO(GPIO_PORTB, 3) +#define A4 GPIO(GPIO_PORTB, 0) #define D0 GPIO(GPIO_PORTB, 3) -#define A0 GPIO(GPIO_PORTB, 4) +#define D1 GPIO(GPIO_PORTB, 0) #define BTN_ALARM GPIO(GPIO_PORTA, 2) #define COM0 GPIO(GPIO_PORTB, 6) #define COM1 GPIO(GPIO_PORTB, 7) |