cancel
Showing results for 
Search instead for 
Did you mean: 

bitwise operations and registers to change the LEDs on/off?

ASoni.4
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

HAL_GPIO_WritePin(GPIOB, GPIO_PIN_7, GPIO_PIN_SET); --

HAL_GPIO_WritePin(GPIOB, GPIO_PIN_7, GPIO_PIN_RESET);

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
AScha.3
Chief III

HAL_GPIO_WritePin(GPIOB, GPIO_PIN_7, GPIO_PIN_SET); --

HAL_GPIO_WritePin(GPIOB, GPIO_PIN_7, GPIO_PIN_RESET);

If you feel a post has answered your question, please click "Accept as Solution".
Piranha
Chief II

GPIOx_BSRR

P.S. Of course, never inform others of your MCU part number...