You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
243 B

2 years ago
2 years ago
2 years ago
  1. #include <stdbool.h>
  2. #include <stdint.h>
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include "main.h"
  6. #include "usart.h"
  7. void user_main()
  8. {
  9. uint8_t c = 'o';
  10. while (1)
  11. {
  12. HAL_UART_Transmit(&huart1, &c, 1, 100);
  13. HAL_Delay(100);
  14. }
  15. }