23 lines
296 B
C

/*
* LED.c
*
* Created on: Apr 19, 2024
* Author: Carst
*/
#include <stdbool.h>
#include "stm32g0xx_ll_gpio.h"
#include "tx_api.h"
void LED(ULONG thread_input)
{
(void)thread_input;
while(true)
{
tx_thread_sleep(500U);
LL_GPIO_TogglePin(GPIOA, LL_GPIO_PIN_10);
}
}