Solved
Read GPIO Analog
Hello,
I set one of GPIO to Analog mode and I want to read its value, by using HAL library.
Should I just use HAL_GPIO_ReadPin to read the value?
Thank you.
Hello,
I set one of GPIO to Analog mode and I want to read its value, by using HAL library.
Should I just use HAL_GPIO_ReadPin to read the value?
Thank you.
Yes, so it can only read a digital value (0 or 1) rather than an analog value.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.