Solved
How to show data received by UART to graph?
Hi, I want to receive data by UART and display them by graph.
Here is my code:
```
HAL_UART_Receive_IT(&huart1,(uint8_t*)RxBuf,1);
RxBuf[1]=r1[i];
```
and show by graph:
```
if(i<256){
dynamicGraph1.addDataPoint(r1[i++] );
}else
i=0;
```
the problem is a straight line shown and not correct.