We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c357f4e commit 3a65027Copy full SHA for 3a65027
Core/Src/main.c
@@ -140,7 +140,7 @@ void configurePins() {
140
switch (ADDRESS) {
141
case NODE_BUTTONS:
142
GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2;
143
- GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
144
GPIO_InitStruct.Pull = GPIO_NOPULL;
145
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
146
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
0 commit comments