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 Commento

Please show your code to light the LED and your code to sound the buzzer.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Richiesto:

il 24 Ott 2016

Commentato:

il 24 Ott 2016

Community Treasure Hunt

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

Start Hunting!

Translated by