Go Down

Topic: syntax in Matlab for delay function (Read 2260 times) previous topic - next topic


how to give command in Matlab to control the Arduino
like a.digitalWrite(13,1); is use for pin 13 hight
How i can give delay through Matlab
wats the syntax for time dalay delay


I am not at all sure about the MATLAB part, but the Arduino delay() function may be what you are looking for:

delay() takes a time in milliseconds.  There is a microseconds version.


How i can give delay through Matlab

Why would you want to? You want Matlab to delay sending more info to the Arduino, not for the Arduino to twiddleThumbsUselessly() (I mean delay()).
The art of getting good answers lies in asking good questions.

Go Up