Skip to main content
Hpena
Associate II
November 26, 2019
Question

Set a GPIO using BLE sensor app

  • November 26, 2019
  • 1 reply
  • 702 views

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.

This topic has been closed for replies.

1 reply

Remi QUINTIN
Technical Moderator
November 26, 2019

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.