Not sure if sending serial data
Ältere Kommentare anzeigen
I am trying to send serial data to my arduino, I am not sure if it is receiving it. This is what my code looks like.
clc
clear s
s = serialport("COM4",115200);
text = extractFileText("transition.txt");
write(s,text,"string");
Is there way that I can check to see if the arduino is actually getting the string?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Serial and USB Communication finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!