add definitions for pin A3/A4 (same as D0/D1)
This commit is contained in:
parent
2c6c605372
commit
d7544276df
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user