cancel
Showing results for 
Search instead for 
Did you mean: 

Set a GPIO using BLE sensor app

Hpena
Associate II

In addition to turning the Blue Led on with the p2p server app, I want to turn a Led on connected to a GPIO, using the same signal.

1 REPLY 1
Remi QUINTIN
ST Employee

You can find a lot of example code on the internet on how to generate a blinking led via GPIO on stm32 devices.

For something more specific to STM32WB (Note that it is anyhow generic to all STM32 devices) please go to:

STM32Cube_FW_WB_V1.3.0\Projects\P-NUCLEO-WB55.Nucleo\Examples\GPIO\GPIO_IOToggle.

Here you'll find some code to toggle a GPIO connected to a led.