set a pin as out


Erwan Gouriou
 

Hi Sarvg,

To configure a pin in a gpio mode, please have a look to the gpio API (you'll find exemples under tests/drivers/gpio)

Chevets
Erwan


Le mar. 3 nov. 2020 à 18:49, <sarvg@...> a écrit :
Hello,
How can i set an gpio pin as output? Is there any examples or tutorials for this?
For example
PIN: PB_12 in St nucleo H743zi2
 
Thanks for your help
 
sarvg 


sarvg@...
 

Hello,
How can i set an gpio pin as output? Is there any examples or tutorials for this?
For example
PIN: PB_12 in St nucleo H743zi2
 
Thanks for your help
 
sarvg