---vl6180dr

This commit is contained in:
Mysteo91
2023-08-01 11:24:26 +03:00
parent 0934ae33ff
commit d1bcf7e360
2 changed files with 9 additions and 9 deletions

View File

@@ -74,7 +74,7 @@ void MX_GPIO_Init(void)
/*Configure GPIO pin : PtPin */
GPIO_InitStruct.Pin = CONTROL_PIN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
GPIO_InitStruct.Pull = GPIO_PULLUP;
HAL_GPIO_Init(CONTROL_PIN_GPIO_Port, &GPIO_InitStruct);
/* EXTI interrupt init*/