]> git.earman.xyz Git - sensor-watch.git/commitdiff
add definitions for pin A3/A4 (same as D0/D1)
authorJoey Castillo <jose.castillo@gmail.com>
Wed, 25 Aug 2021 18:04:38 +0000 (12:04 -0600)
committerJoey Castillo <jose.castillo@gmail.com>
Wed, 25 Aug 2021 18:04:38 +0000 (12:04 -0600)
watch-library/hw/atmel_start_pins.h

index 28dc9919ce13cb23e3132ff8aef5c921913d9924..7a3a7d78bdd388dfeede7cbfd07257326aa6b8da 100644 (file)
 #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)