void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, STM32!");
HAL_Init();
SystemClock_Config();
LL_GPIO_Init();
}
void loop() {
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_SET);
HAL_Delay(500); // Wait 500 milliseconds
// Turn the LED OFF
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_RESET);
HAL_Delay(500); // Wait 500 milliseconds
}