Sending a signal periodically via UART

Giulio Griguoli on 24 Nov 2021
Latest activity Reply by Christopher Stapels on 25 Nov 2021

Hi, I'm trying to send with a serial connection a signal. The signal is just a byte (uint8) that I want to send to my evaluation board every 1 millisecond using Simulink. How can I do that? I tried using the Serial Send block, but the result is different from what I expected to see. Then I tried to use the To instrument block, but I don't know why there isn't the port COM 5 so I couldn't use it.

Christopher Stapels
Christopher Stapels on 25 Nov 2021

Are you trying to send a signal to ThingSpeak? If not, you might be better served by reposting in the general MATLAB answers area. This discussion board is about IoT and ThingSpeak.