Go Down

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

apsingh

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

gardner

I am not at all sure about the MATLAB part, but the Arduino delay() function may be what you are looking for:
http://arduino.cc/en/Reference/Delay

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

PaulS

Quote
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()).

Go Up