How to plot data received
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm working with dspic30f6013A and untill now I'm put some strings via uart1 and I can it throught hyperterminal.
Now, I want to plot a vector into Matlab. But, first, I try to see a simple string, but I don't know how I can do it.
I saw a training Matlab which explains how to configurate a UART from dspic30 through simulink tool. So, I try to do it, and I put the following boxes:
- dsPIC30fxx Main
- UART Config
- Config ("Double-click to Configure for dsPIC_stf.tlc") -------> I don't understant what it represents.
- UART Receive
How I can see the strings sent from dspic? If I open the hyperterminal window, always I receive a string.. So, I'd like to see it in Matlab.
In order to recieve some strings to hyperterminal, I use the following command in MPLAB code:
sprintf(uText, "\r\n Bon dia!! \r\n");
putsUART1((unsigned int*)uText);
By other hand, if I want to scope a vector (in fact, is a sine acquired from ADC pin) how I can do it?
Thanks a lot!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Dialog Boxes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!