Long story short I had an Arduino laying around and wanted to put it to use for a school project. I got everything wired up and running with some basic code. I have absolutely zero experience with any type of code. I have a servo, leds, LCD screen, and a speaker all hooked up to my arduino uno, but they run in sequence in my loop(); code. my leds would turn on then the LCD start, then the servo moves and then the speaker plays. I need all of that to happen at the same exact time. Can someone please help!!
x3xplosiiv3x:
I had seen that post, I don't know why but I can not grasp the concept of how to do it.
If you explain what you don't understand I will try to help.
The idea is that there are several functions and each of them runs very briefly and returns to loop() so the next one can be called. Long running processes are achieved a tiny piece at a time. And there may be dozens of calls to some functions before it is actually time for anything to happen.