Hlo all, i'm trying to receive data over uart and something weird happens every time i try to receive the data, my buf variable always stays empty. can anyone suggest me the solution. I am attaching my code for your reference.
#include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> //#include "stm32f4xx.h" #include "stm32f411xe.h" #include "uart.h" #define GPIOAEN (1U<<0) #define PIN5 (1U<<5) #define LED_PIN PIN5 ...