9 lines
184 B
C
9 lines
184 B
C
|
#include <stdint.h>
|
||
|
|
||
|
#include "stm32h7xx_hal.h"
|
||
|
|
||
|
extern UART_HandleTypeDef huart1;
|
||
|
|
||
|
void _putchar(char character) {
|
||
|
HAL_UART_Transmit(&huart1, (uint8_t *)&character, 0x01, 1000);
|
||
|
}
|