Running multiple commands at the same time

How do you make multiple commands run at the same time? I am trying to get an LED to light up at the same time as a buzzer sounding. I can only get it to run the code in order so it lights up the LED, turns it off, then sounds the buzzer. I would like the LED to light up and the buzzer to sound at the same time.

1 Kommentar

Walter Roberson
Walter Roberson am 24 Okt. 2016
Please show your code to light the LED and your code to sound the buzzer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Okt. 2016

Kommentiert:

am 24 Okt. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by