Repeating pattern when sending serial data in Simulink
이전 댓글 표시
Hi,
I'm trying to send some data from Simulink to arduino through the serial port. In the image you can see the model. I'm sending the character '1', converting it to ASCII and sending it to the arduino. As it can be seen in the display block, it is sending a 49, which is the decimal equivalent of the '1' character. In the other image I checked what data is the arduino receiving and as you can see it is getting a repeiting pattern. Apart from the character 1 I want to send I do not know why it is sending those characters and repeatedly. Is there a way just to send that single '1' character once?


채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!