User Activity

Hi, I've been facing some issue using HAL_UART_TRANSMIT. The thing is that I want to send a message when I press a button. My idea is to catch the interrupt of the button and setting a flag, then in main sending the message detecting the flag.The pro...