From: Joey Castillo Date: Wed, 25 Aug 2021 18:04:38 +0000 (-0600) Subject: add definitions for pin A3/A4 (same as D0/D1) X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=d7544276df64e7b2648989d0b0c91471f96f87dd;p=sensor-watch.git add definitions for pin A3/A4 (same as D0/D1) --- diff --git a/watch-library/hw/atmel_start_pins.h b/watch-library/hw/atmel_start_pins.h index 28dc991..7a3a7d7 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)