Introduction - If you have any usage issues, please Google them yourself
Through the timer interrupt configuration, each 500ms interrupt once, and then interrupt the service function to control the LED to achieve the LED1 state, take the inverse (blinking).