Question
How to set a GPIO pin on CN1 like D8 of B-L475E-IOT01A ?
How do I set/reset a GPIO pin on CN1 like D8 (PB2, pin 37 of STM32L475VGT6) of B-L475E-IOT01A ?
This is NOT working:
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_8, GPIO_PIN_SET);
Also, is there a code line or two to set as pull-up or pull-down output and initially set at 0 volts by default?
Help, please.
Thank you!
