2023-03-31 04:07 PM
I know that "CFG_TASK_SW1_BUTTON_PUSHED_ID" was set in the header file (/app_conf.h), but just set, no more
in the Datasheet the button for Nucleo board SW1 connected to a PC4 pin, but in CubeMX for project "p2p_server" I didn't find any mentions about the button SW1
so, How I can in the custom project to set the variable - "CFG_TASK_SW1_BUTTON_PUSHED_ID" for input PC4 or PC5
for example, see the code here
Solved! Go to Solution.
2023-04-02 11:04 PM
Hello,
"CFG_TASK_SW1_BUTTON_PUSHED_ID" is variable used by sequencer (simple background scheduler used in STM32 BLE examples). You can find in the repository also simplified example without sequencer used, maybe it could be convenient starting point for your experiments. Please check:
Best regards,
Lubos
2023-04-02 11:04 PM
Hello,
"CFG_TASK_SW1_BUTTON_PUSHED_ID" is variable used by sequencer (simple background scheduler used in STM32 BLE examples). You can find in the repository also simplified example without sequencer used, maybe it could be convenient starting point for your experiments. Please check:
Best regards,
Lubos
2023-04-14 06:22 AM
Hello,
Maybe the wiki article will help you on the P to P topic
Regards
Michael
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.