Skip to main content
Associate II
October 11, 2024
Question

Error stm32 when use button

noname8888_0-1728615678428.png

Hello everyone, I use the button to hold the Semaphore in this task, when I press the button the Semaphore is released, but the error I get is that the button is not pressed but the Semaphore is automatically released
plsss help me, thank so much

This topic has been closed for replies.

2 replies

mƎALLEm
ST Technical Moderator
October 11, 2024

Hello @noname8888 ,

Please review the tips on how to post a thread in this community.

Please use </> button to paste your code instead of posting screen shots.

Thank you for your understanding.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Pavel A.
October 11, 2024

So do you see the message "releasing semaphore"?