필터 지우기
필터 지우기

How to catch UART Live data in Matlab

조회 수: 2 (최근 30일)
fima v
fima v 2020년 7월 31일
I have built a mechanism for sending the letter 'O' every few seconds. After that I catch the recieved Data with fgets in MATLAB. fgets gives me a batch of lettters after some time which is not optimal because i want to see the arrival of each letter LIVE. Is there a way to do it in matlab?
Thanks.
while (1)
{
buffer[0] = 'O';
Delay(1000);
GPIO_PinOutSet(LED_PORT_E,15);
Delay(1000);
USART_Tx(USART1,buffer[0]);
GPIO_PinOutClear(LED_PORT_E,15);
Delay(1000);
}

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Mobile Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by